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/02/07 13:28:27 UTC

[GitHub] [spark] maropu commented on a change in pull request #27481: [SPARK-28880][SQL][TESTS] Improve bracketed comments tests.

maropu commented on a change in pull request #27481: [SPARK-28880][SQL][TESTS] Improve bracketed comments tests.
URL: https://github.com/apache/spark/pull/27481#discussion_r376388844
 
 

 ##########
 File path: sql/core/src/test/resources/sql-tests/inputs/postgreSQL/comments.sql
 ##########
 @@ -26,23 +26,23 @@ SELECT 'after multi-line' AS fifth;
 SELECT 'trailing' as x1; -- inside block comment
 */
 
-/* This block comment surrounds a query which itself has a block comment...
-SELECT /* embedded single line */ 'embedded' AS x2;
-*/
+-- /* This block comment surrounds a query which itself has a block comment...
+-- SELECT /* embedded single line */ 'embedded' AS x2;
+-- */
 
 
 Review comment:
   > Spark SQL can't support nested bracketed comments and I will open another PR to support it.
   
   We need to update this file in this PR?  If you will work on that, I think its ok to update this file in the next one.

----------------------------------------------------------------
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


With regards,
Apache Git Services

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