-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
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
[SUPPORT] Flink cant read metafield '_hoodie_commit_time' #8371
Comments
Seems a bug, could you fire a PR and fix it? |
We've encountered similar issues around this code recently. we can't seem to reproduce your issue, is it possible to provide a minimal example of your table so i can trigger this bug locally to see if the issue we are encountering is the same? i.e. possible to share your hudi table file? |
|
现在可以读取_hoodie_commit_time了么?flink1.13读取hudi0.13.1还是报错Caused by: org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: SQL parse failed. Encountered " |
Did you declare the |
Yes.My java codes as follows: |
I found the comma which is in the DDL of my flink table was forgotten.So there is no problem while reading metafields. |
Tips before filing an issue
Flink : 1.15.1
Hudi : master
CREATE TABLE ITTestMetaField(
_hoodie_commit_time STRING,
id STRING PRIMARY KEY NOT ENFORCED
)
WITH (
'index.type'='BUCKET',
'payload.class'='org.apache.hudi.common.model.PartialUpdateAvroPayload',
'precombine.field'='ts',
'table.type' = 'MERGE_ON_READ'
)
Stacktrace
There's no problem querying other metafields
The text was updated successfully, but these errors were encountered: