HyukjinKwon edited a comment on issue #20125: [SPARK-17967][SQL] Support for 
array as an option in SQL parser
URL: https://github.com/apache/spark/pull/20125#issuecomment-449204019
 
 
   I was thinking about @cloud-fan's suggestion at 
https://github.com/apache/spark/pull/21192#issuecomment-391405633, and it looks 
feasible that we can additionally add an util that parses JSON array string to 
return an array but I wonder if that's possible in Data Source V1.
   
   We can do that `DataSourceOptions.getArrays` for Data source V2. 
`DataSourceOptions.paths` uses a similar approach.
   
   However, I don't think it's quite possible to Data Source V1, since we can't 
change the signatures from `Map[String, String]` to another.
   
   Anyway I think we still need this change to follow @cloud-fan's suggestion.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to