yaooqinn commented on PR #45180:
URL: https://github.com/apache/spark/pull/45180#issuecomment-1955991831

   Hi @dongjoon-hyun.
   
   - This PR allows the use of commas in column names.
   
   - In contrast, we don't disallow any more special characters to be used in 
nested type information. Because it will eventually fail for HMS calls 
`TypeInfoUtils.getTypeInfoFromTypeString`, we just bring this step forward 
where we did for ",:;" before.
   
   It might be necessary to verify that commas can be safely used in partition 
names, as they are allowed in column names.
   
   ```
   create table a(`a,b` int, c int) using hive  PARTITIONED BY (`a,b`);
   insert into a values(1, 2);
   select * from a;
   #output 
   1    2
   ```


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