Skip to content

[DuckDB-1.3.1.0] Geometry Functions return now DuckDBBlobResult instead of Text #298

@manticore-projects

Description

@manticore-projects
select ST_GeomFromGeoJSON('{
      "type": "Point",
      "coordinates": [30.0, 10.0]}') as p;

with DuckDB-1.2:

POINT (30 10)

with DuckDB-1.3.1.0:

DuckDBBlobResult{buffer=java.nio.HeapByteBuffer[pos=0 lim=32 cap=32]}

Of course I can cast to text explicitly but I believe the JDBC driver should map GEOMETRY to TEXT instead of BLOB.
Or at least let ResultSet.getString() return the proper TEXT when typeOf is GEOMETRY.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions