databricks / databricks-sql-go

Golang database/sql driver for Databricks SQL.
Apache License 2.0
37 stars 41 forks source link

Reduce driver memory usage #159

Closed rcypher-databricks closed 1 year ago

rcypher-databricks commented 1 year ago

Fixed use of defer in a for loop in arrow row scanner. Also setting reference to raw arrow batch bytes to nil after reading batch. Updated rows to close it's row scanner before fetching a result page from the back end.