You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you explain the difference in pyorc.StructRepr between Tuple and Dict?
Is it just different how Writer.write accepts the values as parameters?
If this is the latter, can you please provide an example with a dict? Are the keys then column names and the value their value for the corresponding cell?
It affects both Reader and Writer.
When the struct_repr parameter is set to pyorc.StructRepr.DICT, then the Reader returns the rows as dicts and the Writer's write method expects a dict with all the keys of the column names. (It can have other keys that are not represented in the schema, but they will be ignored.)
Hi,
Can you explain the difference in pyorc.StructRepr between Tuple and Dict?
Is it just different how Writer.write accepts the values as parameters?
If this is the latter, can you please provide an example with a dict? Are the keys then column names and the value their value for the corresponding cell?
thank you.
Very nice library btw.: I use it to provide an exporter to Orc for the Scrapy framework under: https://github.com/zuinnote/scrapy-contrib-bigexporters
best regards
The text was updated successfully, but these errors were encountered: