paleolimbot opened a new pull request, #100:
URL: https://github.com/apache/sedona-db/pull/100

   This PR ensures we print the "logical type name" (term invented in this PR), 
which is what we show in the display table header, and a more verbose 
description of the type when printing a schema and we have the whole width of 
the console at our disposal. The output looks like this:
   
   ```python
   import sedonadb
   
   sd = sedonadb.connect()
   sd.sql("SELECT ST_Point(0, 1) as geom, 1 as one").schema
   #> SedonaSchema with 2 fields:
   #>   geom: geometry<Wkb>
   #>   one: non-nullable int64<Int64>
   ```
   
   This PR implements the logical type name for arrow types too, so columns 
with those types have potentially shorter type names in tabular display (e.g., 
`struct(all the struct fields)` is now just `struct` in the tabular display.
   
   Happy to workshop any of that...coming up with these names is hard!
   


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