aokolnychyi commented on code in PR #52504:
URL: https://github.com/apache/spark/pull/52504#discussion_r2414493779


##########
sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala:
##########
@@ -3881,6 +3870,60 @@ class DataSourceV2SQLSuiteV1Filter
     }
   }
 
+  test("test default value special column name conflicting with real column 
name") {

Review Comment:
   Do we have tests when a default value references other data columns? It is 
illegal, just to want to make sure we throw a good error message in this case.
   
   ```
   col1 INT,
   col2 INT DEFAULT col1
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to