Sagar Sumit created HUDI-7029:
---------------------------------

             Summary: Enhance CREATE INDEX syntax for functional index
                 Key: HUDI-7029
                 URL: https://issues.apache.org/jira/browse/HUDI-7029
             Project: Apache Hudi
          Issue Type: Task
            Reporter: Sagar Sumit


Currently, user can create index using sql as follows: 

`create index idx_datestr on $tableName using column_stats(ts) 
options(func='from_unixtime', format='yyyy-MM-dd')`

Ideally, we would to simplify this further as follows:

`create index idx_datestr on $tableName using column_stats(from_unixtime(ts, 
format='yyyy-MM-dd'))`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to