databendlabs / databend-jdbc

jdbc implementation for databend cloud
Apache License 2.0
11 stars 10 forks source link

Support geometry type for jdbc #241

Closed cdmikechen closed 3 months ago

cdmikechen commented 3 months ago

Issue link: https://github.com/datafuselabs/databend-jdbc/issues/240

hantmac commented 3 months ago

@cdmikechen Do we need to add setGeometry method such like setInt or setString etc.?

cdmikechen commented 3 months ago

@cdmikechen Do we need to add setGeometry method such like setInt or setString etc.?

I don't think setGeometry is a standard interface method for jdbc, and other databases such as mysql don't deal with it, they all just return byte[]. For example, the json type is not given a separate method to handle in most cases.