Vinoth Chandar created HUDI-8541:
------------------------------------
Summary: Change to relative paths for the index defs json
Key: HUDI-8541
URL: https://issues.apache.org/jira/browse/HUDI-8541
Project: Apache Hudi
Issue Type: Task
Reporter: Vinoth Chandar
Assignee: Lokesh Jain
Fix For: 1.0.0
We need to ensure the user can execute `CREATE INDEX name ...`. with same name,
failing many times and then be able to eventually succeed with the right
syntax/parameters.
{code:java}
spark-sql (default)> create index idx_bloom on hudi_table using
bloom_filter(city) options(func='lower');
24/11/16 09:58:44 ERROR SparkSQLDriver: Failed in [create index idx_bloom on
hudi_table using bloom_filter(city) options(func='lower')]
java.lang.IllegalArgumentException: The value of hoodie.functional.index.type
should be one of COLUMN_STATS,BLOOM_FILTERS,SECONDARY_INDEX, but was
bloom_filter
spark-sql (default)> create index idx_bloom on hudi_table using
bloom_filters(city) options(func='lower');
24/11/16 09:59:11 ERROR SparkSQLDriver: Failed in [create index idx_bloom on
hudi_table using bloom_filters(city) options(func='lower')]
java.lang.IllegalArgumentException: The value of hoodie.functional.index.type
should be one of COLUMN_STATS,BLOOM_FILTERS,SECONDARY_INDEX, but was
bloom_filter
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)