delta-go
delta-go copied to clipboard
json: cannot unmarshal bool into Go struct field CommitInfo.commitInfo.operationParameters of type string
Hello!
I'm getting this error:
delta.ForTable: fail to get protocol and metadata when initializing snapshots: : json: cannot unmarshal bool into Go struct field CommitInfo.commitInfo.operationParameters of type string
In the _delta_log json:
{"operationParameters":{"mode":"Overwrite","statsOnLoad":false,"partitionBy":"[]"}}
Looks like statsOnLoad can't be unmarshalled.
Which version of the delta are you using ? I suspect the table is a newer version that this library does not support.
I'm not sure which version we're using. I have to ask my team, but I think it's a recent one.
It looks like the operation parameters is a Map[String, Any] in the current Delta Lake code. Can I make a PR to change it to that in this library too?
Thanks!
We're using Delta Lake v2.4.0
I'm not sure which version we're using. I have to ask my team, but I think it's a recent one.
It looks like the operation parameters is a
Map[String, Any]in the current Delta Lake code. Can I make a PR to change it to that in this library too?Thanks!
sure, waiting for your contribution.