Older DBR versions may not return a serialized Arrow schema in TGetResultSetMetadataResp. But schema in Arrow binary format is required to deserialize Arrow batches (which contain only rows). Python connector has a code that converts Hive schema to Arrow, and this PR adds similar solution to Node connector.
Older DBR versions may not return a serialized Arrow schema in
TGetResultSetMetadataResp
. But schema in Arrow binary format is required to deserialize Arrow batches (which contain only rows). Python connector has a code that converts Hive schema to Arrow, and this PR adds similar solution to Node connector.Fixes databricks/databricks-sql-nodejs#232