We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.0
Flink
CREATE TABLE t1 ( k INT, a INT, b INT, g_1 INT, PRIMARY KEY (k) NOT ENFORCED ) WITH ( 'merge-engine' = 'partial-update', 'fields.a.aggregate-function' = 'sum', 'fields.b.aggregate-function' = 'last_non_null_value', 'fields.g_1.sequence-group' = 'a,b' );
INSERT INTO t1 VALUES (1, 1, 1, 1); INSERT INTO t1 VALUES (1, 2, 2, 2); INSERT INTO t1 VALUES (1, 3, 3, 1);
when g_1 of third record is smaller, third record should be ignored。 I expect the result to be: 1,3,2,2
No response
The text was updated successfully, but these errors were encountered:
"SELECT * FROM t1" current output: 1,6,2,2 expect output: 1,3,2,2
Sorry, something went wrong.
It is sum... should be 6...
No branches or pull requests
Search before asking
Paimon version
1.0.0
Compute Engine
Flink
Minimal reproduce step
CREATE TABLE t1
(
k INT,
a INT,
b INT,
g_1 INT,
PRIMARY KEY (k) NOT ENFORCED
) WITH (
'merge-engine' = 'partial-update',
'fields.a.aggregate-function' = 'sum',
'fields.b.aggregate-function' = 'last_non_null_value',
'fields.g_1.sequence-group' = 'a,b'
);
INSERT INTO t1 VALUES (1, 1, 1, 1);
INSERT INTO t1 VALUES (1, 2, 2, 2);
INSERT INTO t1 VALUES (1, 3, 3, 1);
What doesn't meet your expectations?
when g_1 of third record is smaller, third record should be ignored。
I expect the result to be: 1,3,2,2
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: