I try to create the table like so:
Flink SQL> create table test (nested ROW(id STRING, name STRING)) partitioned by (nested.id);
But I get this error:
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.sql.parser.impl.ParseException: Encountered "." at line 1, column 78.
Was expecting one of:
")" ...
"," ...
I've tried a bunch of options: partitioned by ('nested.id'), partitioned by (nested.id) but they all fail. There's no mention of this in the docs either.
There's close to no documentation on this, but I figured it out: