[GitHub] [spark] huleilei commented on a diff in pull request #38007: [SPARK-40566][SQL] Add showIndex function

2022-09-28 Thread GitBox
huleilei commented on code in PR #38007: URL: https://github.com/apache/spark/pull/38007#discussion_r981984584 ## sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCV2Suite.scala: ## @@ -2635,6 +2635,10 @@ class JDBCV2Suite extends QueryTest with SharedSparkSession with

[GitHub] [spark] huleilei commented on a diff in pull request #38007: [SPARK-40566][SQL] Add showIndex function

2022-09-27 Thread GitBox
huleilei commented on code in PR #38007: URL: https://github.com/apache/spark/pull/38007#discussion_r980939477 ## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowIndexExec.scala: ## @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation

[GitHub] [spark] huleilei commented on a diff in pull request #38007: [SPARK-40566][SQL] Add showIndex function

2022-09-27 Thread GitBox
huleilei commented on code in PR #38007: URL: https://github.com/apache/spark/pull/38007#discussion_r980928571 ## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowIndexExec.scala: ## @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation

[GitHub] [spark] huleilei commented on a diff in pull request #38007: [SPARK-40566][SQL] Add showIndex function

2022-09-27 Thread GitBox
huleilei commented on code in PR #38007: URL: https://github.com/apache/spark/pull/38007#discussion_r980926707 ## sql/hive/src/test/resources/ql/src/test/queries/clientpositive/index_bitmap2.q: ## @@ -4,7 +4,10 @@ CREATE INDEX src1_index ON TABLE src(key) as 'BITMAP' WITH

[GitHub] [spark] huleilei commented on a diff in pull request #38007: [SPARK-40566][SQL] Add showIndex function

2022-09-27 Thread GitBox
huleilei commented on code in PR #38007: URL: https://github.com/apache/spark/pull/38007#discussion_r980919285 ## sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4: ## @@ -216,6 +216,7 @@ statement LEFT_PAREN