Unable to write list/array type data
I am trying to save a pandas dataframe to a table which contains columns of type list of strings (array
When I use use_inline_params=True, I am getting the following error (databricks.sql.exc.ServerOperationError) [UNBOUND_SQL_PARAMETER] Found the unbound parameter
Details: databricks-sql-connector[sqlalchemy]==3.1.1 Python 3.8.10 Databricks Serverless SQL hive_metastore catalog
Hi @akhileshpachipulusu-inviz-DataScience! Can you please provide some more details to help us with debugging:
- are you using an AWS or Azure instance?
- are you using Warehouse or Compute cluster? Which DBR version it runs?
- please provide a minimal code snippets for both cases (native and inline parameters) that reproduces you issue.
Thank you!
When I use use_inline_params=True, I am getting the following error (databricks.sql.exc.ServerOperationError) [UNBOUND_SQL_PARAMETER] Found the unbound parameter
FYI this won't work since SQLAlchemy always uses server bound parameters. If you attempt this with connector version 2.9.3 it may work better for you, since that version of the SQLAlchemy dialect used inline parameters.