AngersZhuuuu commented on pull request #30850:
URL: https://github.com/apache/spark/pull/30850#issuecomment-748438738
parquet and avro failed because the col `IF(1=1, 1, 0)` 's col name is
`(IF((1 = 1), 1, 0))`, break the schema parse process.
One solution may be suitable for all problem:
```
IF col name contains , or start with `(`, we replace it as
`atribute_${index}`
```
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]