You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "lgbo-ustc (via GitHub)" <gi...@apache.org> on 2024/10/16 02:27:57 UTC

[I] [CH] Unsupported json path `$.xxx:yyy` [incubator-gluten]

lgbo-ustc opened a new issue, #7552:
URL: https://github.com/apache/incubator-gluten/issues/7552

   ### Backend
   
   CH (ClickHouse)
   
   ### Bug description
   
   [Expected behavior] and [actual behavior].
   ```sql
   0: jdbc:hive2://localhost:10000> select s,  get_json_object(s, '$.a:b') from t_json;
   +------------+----------------------------+
   |     s      | get_json_object(s, $.a:b)  |
   +------------+----------------------------+
   | {"a:b":1}  | NULL                       |
   +------------+----------------------------+
   ```
   Fail to parse `'$.a:b'` .
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   _No response_


-- 
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: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [CH] Unsupported json path `$.xxx:yyy` [incubator-gluten]

Posted by "lgbo-ustc (via GitHub)" <gi...@apache.org>.
lgbo-ustc closed issue #7552: [CH] Unsupported json path `$.xxx:yyy`
URL: https://github.com/apache/incubator-gluten/issues/7552


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [CH] Unsupported json path `$.xxx:yyy` [incubator-gluten]

Posted by "lgbo-ustc (via GitHub)" <gi...@apache.org>.
lgbo-ustc commented on issue #7552:
URL: https://github.com/apache/incubator-gluten/issues/7552#issuecomment-2415597133

   We could wrap the path in double quotes to solve this
   ```sql
   0: jdbc:hive2://localhost:10000> select s,  get_json_object(s, '$."a:b"') from t_json;
   +------------+------------------------------+
   |     s      | get_json_object(s, $."a:b")  |
   +------------+------------------------------+
   | {"a:b":1}  | 1                            |
   +------------+------------------------------+
   ```


-- 
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: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org