Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Create a table through dfs catalog, hms catalog, or sink ddl, and then query the data of the table through spark, and an exception occurs:
Java. util. NoSuchElementException: key not found: ts
demo:
1. create a table through hms catalog:
hms catalog create table
CREATE CATALOG hudi_catalog WITH(
'type' = 'hudi',
'mode' = 'hms'
);
CREATE TABLE hudi_catalog.`default`.ct1
(
f1 string,
f2 string
) WITH (
'connector' = 'hudi',
'path' = 'file:///Users/x/x/others/data/hudi-warehouse/ct1',
'table.type' = 'COPY_ON_WRITE',
'write.operation' = 'insert'
);
2. spark query
spark query
select * from ct1
3. exception
exception
java.util.NoSuchElementException: key not found: ts
Attachments
Issue Links
- links to