You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/11/12 17:03:26 UTC

[GitHub] [spark] luluorta opened a new pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

luluorta opened a new pull request #30357:
URL: https://github.com/apache/spark/pull/30357


   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
     2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
     4. Be sure to keep the PR description updated to reflect all changes.
     5. Please write your PR title to summarize what this PR proposes.
     6. If possible, provide a concise example to reproduce the issue for a faster review.
     7. If you want to add a new configuration, please read the guideline first for naming configurations in
        'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
   -->
   
   ### What changes were proposed in this pull request?
   <!--
   Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. 
   If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
     1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
     2. If you fix some SQL features, you can provide some references of other DBMSes.
     3. If there is design documentation, please add the link.
     4. If there is a discussion in the mailing list, please add the link.
   -->
   
   
   ### Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you propose a new API, clarify the use case for a new API.
     2. If you fix a bug, you can clarify why it is a bug.
   -->
   
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   Note that it means *any* user-facing change including all aspects such as the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   
   
   ### How was this patch tested?
   <!--
   If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
   If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why it was difficult to add.
   -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726671851






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726473494


   **[Test build #131031 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131031/testReport)** for PR 30357 at commit [`6d02b6c`](https://github.com/apache/spark/commit/6d02b6cedb2bcbf7a6f0bf4d2079d354771bc005).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726671833


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35653/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522661425



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/CatalogV2Implicits.scala
##########
@@ -143,7 +142,7 @@ private[sql] object CatalogV2Implicits {
     }
   }
 
-  private lazy val catalystSqlParser = new CatalystSqlParser(SQLConf.get)
+  private lazy val catalystSqlParser = new CatalystSqlParser()

Review comment:
       We can directly use `object CatalystSqlParser` in this file and remove this lazy val, as `CatalogV2Implicits` is already an object.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726638628


   **[Test build #131049 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131049/testReport)** for PR 30357 at commit [`4139f6d`](https://github.com/apache/spark/commit/4139f6d5d1920350b31fc2f44e71d500c678bffb).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun closed pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun closed pull request #30357:
URL: https://github.com/apache/spark/pull/30357


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726546476


   Merged build finished. Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726646635


   **[Test build #131053 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131053/testReport)** for PR 30357 at commit [`acb19f2`](https://github.com/apache/spark/commit/acb19f214880d1c3009850ec66449354f7baf356).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726671851






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522812803



##########
File path: sql/core/src/test/resources/sql-tests/inputs/ansi/parse-schema-string.sql
##########
@@ -0,0 +1,5 @@
+-- Use keywords as attribute names

Review comment:
       let's put this file in `.../inputs/` and then import it here, so that it's run with annsi on and off.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726546476






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] luluorta commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
luluorta commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522814548



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/CatalogV2Implicits.scala
##########
@@ -143,7 +142,7 @@ private[sql] object CatalogV2Implicits {
     }
   }
 
-  private lazy val catalystSqlParser = new CatalystSqlParser(SQLConf.get)
+  private lazy val catalystSqlParser = new CatalystSqlParser()

Review comment:
       done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726700722


   Test FAILed.
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35658/
   Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726700694


   Kubernetes integration test status failure
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35658/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726709231






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726215406






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726689526


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35658/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726495772


   cc @cloud-fan 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726632526


   **[Test build #131047 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131047/testReport)** for PR 30357 at commit [`8464da0`](https://github.com/apache/spark/commit/8464da0e9cbae87af3d87d13d6650f042b24ae6c).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] luluorta commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
luluorta commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522824956



##########
File path: sql/core/src/test/resources/sql-tests/inputs/ansi/parse-schema-string.sql
##########
@@ -0,0 +1,5 @@
+-- Use keywords as attribute names

Review comment:
       done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726774389






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726493597






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522676804



##########
File path: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLDriver.scala
##########
@@ -60,7 +60,7 @@ private[hive] class SparkSQLDriver(val context: SQLContext = SparkSQLEnv.sqlCont
   override def run(command: String): CommandProcessorResponse = {
     // TODO unify the error code
     try {
-      val substitutorCommand = new VariableSubstitution(context.conf).substitute(command)
+      val substitutorCommand = new VariableSubstitution().substitute(command)

Review comment:
       ditto




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726209319


   **[Test build #131011 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131011/testReport)** for PR 30357 at commit [`a166c40`](https://github.com/apache/spark/commit/a166c408d1d3f242b1916dff7c5b38de7de0c9be).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522661697



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/connector/expressions/expressions.scala
##########
@@ -30,8 +29,7 @@ import org.apache.spark.sql.types.{DataType, IntegerType, StringType}
  */
 private[sql] object LogicalExpressions {
   // a generic parser that is only used for parsing multi-part field names.
-  // because this is only used for field names, the SQL conf passed in does not matter.
-  private lazy val parser = new CatalystSqlParser(SQLConf.get)
+  private lazy val parser = new CatalystSqlParser()

Review comment:
       ditto




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726792581






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r523464426



##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/ExpressionParserSuite.scala
##########
@@ -200,12 +200,12 @@ class ExpressionParserSuite extends AnalysisTest {
   }
 
   test("like expressions with ESCAPED_STRING_LITERALS = true") {
-    val conf = new SQLConf()
-    conf.setConfString(SQLConf.ESCAPED_STRING_LITERALS.key, "true")
-    val parser = new CatalystSqlParser(conf)
-    assertEqual("a rlike '^\\x20[\\x20-\\x23]+$'", 'a rlike "^\\x20[\\x20-\\x23]+$", parser)
-    assertEqual("a rlike 'pattern\\\\'", 'a rlike "pattern\\\\", parser)
-    assertEqual("a rlike 'pattern\\t\\n'", 'a rlike "pattern\\t\\n", parser)
+    withSQLConf(SQLConf.ESCAPED_STRING_LITERALS.key -> "true") {

Review comment:
       This style changes look like another benefit. Thanks.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522664181



##########
File path: sql/core/src/test/resources/sql-tests/inputs/ansi/json-functions.sql
##########
@@ -0,0 +1 @@
+--IMPORT json-functions.sql

Review comment:
       It's a bit overkill to rerun the entire test with ansi mode. What we really care about is the parsing of schema string.
   
   How about we add a new test `parse-schema-string.sql`, which only tests `from_json`, `from_csv` with schema string?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726493581


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35637/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726700714


   Merged build finished. Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726709236


   Test FAILed.
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131047/
   Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726709231


   Merged build finished. Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] luluorta commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
luluorta commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522816889



##########
File path: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala
##########
@@ -306,7 +306,7 @@ private[hive] class SparkExecuteStatementOperation(
         parentSession.getSessionState.getConf.setClassLoader(executionHiveClassLoader)
       }
 
-      val substitutorStatement = new VariableSubstitution(sqlContext.conf).substitute(statement)
+      val substitutorStatement = new VariableSubstitution().substitute(statement)

Review comment:
       I wrapped this statement in `SQLConf.withExistingConf`  to be on the safe side.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726773255


   **[Test build #131049 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131049/testReport)** for PR 30357 at commit [`4139f6d`](https://github.com/apache/spark/commit/4139f6d5d1920350b31fc2f44e71d500c678bffb).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726486326


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35637/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726493597






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726546128


   **[Test build #131031 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131031/testReport)** for PR 30357 at commit [`6d02b6c`](https://github.com/apache/spark/commit/6d02b6cedb2bcbf7a6f0bf4d2079d354771bc005).
    * This patch **fails Spark unit tests**.
    * This patch merges cleanly.
    * This patch adds the following public classes _(experimental)_:
     * `class AstBuilder extends SqlBaseBaseVisitor[AnyRef] with Logging `
     * `abstract class AbstractSqlParser extends ParserInterface with Logging `
     * `class CatalystSqlParser extends AbstractSqlParser `
     * `class SparkSqlParser extends AbstractSqlParser `
     * `class SparkSqlAstBuilder extends AstBuilder `
     * `class VariableSubstitution `


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726700714






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726473494


   **[Test build #131031 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131031/testReport)** for PR 30357 at commit [`6d02b6c`](https://github.com/apache/spark/commit/6d02b6cedb2bcbf7a6f0bf4d2079d354771bc005).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726224333


   Test FAILed.
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35617/
   Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726215406






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726791268


   **[Test build #131053 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131053/testReport)** for PR 30357 at commit [`acb19f2`](https://github.com/apache/spark/commit/acb19f214880d1c3009850ec66449354f7baf356).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726209319


   **[Test build #131011 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131011/testReport)** for PR 30357 at commit [`a166c40`](https://github.com/apache/spark/commit/a166c408d1d3f242b1916dff7c5b38de7de0c9be).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726546492


   Test FAILed.
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131031/
   Test FAILed.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726661037


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35653/
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726638628


   **[Test build #131049 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131049/testReport)** for PR 30357 at commit [`4139f6d`](https://github.com/apache/spark/commit/4139f6d5d1920350b31fc2f44e71d500c678bffb).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726774389






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726224311






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726646635


   **[Test build #131053 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131053/testReport)** for PR 30357 at commit [`acb19f2`](https://github.com/apache/spark/commit/acb19f214880d1c3009850ec66449354f7baf356).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] cloud-fan commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522676774



##########
File path: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkExecuteStatementOperation.scala
##########
@@ -306,7 +306,7 @@ private[hive] class SparkExecuteStatementOperation(
         parentSession.getSessionState.getConf.setClassLoader(executionHiveClassLoader)
       }
 
-      val substitutorStatement = new VariableSubstitution(sqlContext.conf).substitute(statement)
+      val substitutorStatement = new VariableSubstitution().substitute(statement)

Review comment:
       is `sqlContext.conf` the active conf here?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726632526


   **[Test build #131047 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131047/testReport)** for PR 30357 at commit [`8464da0`](https://github.com/apache/spark/commit/8464da0e9cbae87af3d87d13d6650f042b24ae6c).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] luluorta commented on a change in pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
luluorta commented on a change in pull request #30357:
URL: https://github.com/apache/spark/pull/30357#discussion_r522814684



##########
File path: sql/core/src/test/resources/sql-tests/inputs/ansi/json-functions.sql
##########
@@ -0,0 +1 @@
+--IMPORT json-functions.sql

Review comment:
       done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726792581






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726215376


   **[Test build #131011 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131011/testReport)** for PR 30357 at commit [`a166c40`](https://github.com/apache/spark/commit/a166c408d1d3f242b1916dff7c5b38de7de0c9be).
    * This patch **fails to build**.
    * This patch merges cleanly.
    * This patch adds the following public classes _(experimental)_:
     * `class AstBuilder extends SqlBaseBaseVisitor[AnyRef] with Logging `
     * `abstract class AbstractSqlParser extends ParserInterface with Logging `
     * `class CatalystSqlParser extends AbstractSqlParser `
     * `class SparkSqlParser extends AbstractSqlParser `
     * `class SparkSqlAstBuilder extends AstBuilder `
     * `class VariableSubstitution `


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] dongjoon-hyun commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-727268825


   If this is required at `branch-3.0` as described in JIRA, please make a backporting PR, @luluorta .


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #30357: [SPARK-33432][SQL] SQL parser should use active SQLConf

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30357:
URL: https://github.com/apache/spark/pull/30357#issuecomment-726709023


   **[Test build #131047 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/131047/testReport)** for PR 30357 at commit [`8464da0`](https://github.com/apache/spark/commit/8464da0e9cbae87af3d87d13d6650f042b24ae6c).
    * This patch **fails Spark unit tests**.
    * This patch merges cleanly.
    * This patch adds no public classes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org