paleolimbot opened a new issue, #274:
URL: https://github.com/apache/sedona-db/issues/274

   There are now some errors when naming columns with reserved words. I had a 
recent issue with `end` and another user reported the name `context` as an 
issue but I couldn't reproduce.
   
   ```rust
   import sedona.db 
   import pandas as pd
   
   sd = sedona.db.connect()
   df = pd.DataFrame({"start": [1, 2, 3], "end": [1, 2, 3], "idx": [1, 2, 3]})
   sd.create_data_frame(df).to_view("foofy")
   sd.sql("""SELECT idx, end FROM foofy""").show()
   #> SedonaError: SQL error: ParserError("Expected: end of statement, found: 
end at Line: 1, Column: 13")
   ```
   
   If we'd like to improve this error we probably have to see which PR changed 
this upstream and have a look.


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

Reply via email to