AngersZhuuuu opened a new pull request #30958:
URL: https://github.com/apache/spark/pull/30958


   ### What changes were proposed in this pull request?
   For same SQL
   ```
   SELECT TRANSFORM(a, b, c, null)
   ROW FORMAT DELIMITED
   USING 'cat' 
   ROW FORMAT DELIMITED
   FIELDS TERMINATED BY '&'
   FROM (select 1 as a, 2 as b, 3  as c) t
   ```
   In hive:
   
![image](https://user-images.githubusercontent.com/46485123/103260903-5c968a80-49da-11eb-9675-7c66b2ee35fb.png)
   
   In Spark 
   
![image](https://user-images.githubusercontent.com/46485123/103260912-67511f80-49da-11eb-93df-663543c8e91f.png)
   
   We should keep same. Change default ROW FORMAT FIELD DELIMIT to `\u0001`
   
   ### Why are the changes needed?
   Keep same behavior with hive
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Added UT
   


----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to