[SUPPORT] Flink Date type as partition field
See original GitHub issueflink sql can’t use date as partition field
create TABLE hudi_sink(
role_id string,
log_id string,
origin_json string,
origin_log string,
ts timestamp(3),
ds date
)PARTITIONED BY (ds)
with (
'connector' = 'hudi'
...
throw org.apache.hudi.exception.HoodieNotSupportedException: Unexpected type for partition field: java.time.LocalDate
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
FLIP-63: Rework table partition support
date is the reference of DDL defined fields; partition values need to be saved in real data because they support rich partitioning criteria....
Read more >System (Built-in) Functions | Apache Flink
Converts date time string string1 with format string2 (by default: 'yyyy-MM-dd HH:mm:ss') under the session time zone (specified by TableConfig) to a timestamp....
Read more >FileSystem | Apache Flink
Flink's file system partition support uses the standard hive format. However, it does not require partitions to be pre-registered with a table catalog....
Read more >[DISCUSS] Introduce partitioning strategies to Table/SQL ...
So I think it is better to introduce partitioning strategies to Flink, ... Composite Partitioning Tables: CREATE TABLE fs_table ( name STRING, date:...
Read more >CREATE Statements | Apache Flink
Flink SQL supports the following CREATE statements for now: CREATE TABLE ... They define the names, the types, and the order of fields...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Already created a PR here: https://github.com/apache/hudi/pull/5432
hudi version 0.11.0 build from release-0.11.0 flink version 1.13.5 the file system is hdfs