Github user nsyca commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16337#discussion_r93817165
  
    --- Diff: 
sql/core/src/test/resources/sql-tests/inputs/subquery/in-subquery/in-group-by.sql
 ---
    @@ -0,0 +1,117 @@
    +-- A test suite for GROUP BY in parent side, subquery, and both predicate 
subquery
    +-- It includes correlated cases.
    +
    +-- tables and data types
    +
    +CREATE DATABASE indb;
    --- End diff --
    
    The statement CREATE DATABASE/DROP DATABASE is used to isolate all the 
objects created in this test file to its own database/schema. The purpose is to 
protect any name collision from other test files leaving objects of the same 
names without properly dropping them. The use of different database/schema 
mitigates this problem as the chance of having the same database/schema name in 
two different test files is low.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to