Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
Description
The current semantics for setting values in a PartialRow are not very elegant or comfortable for Python developers. Improvements should be made here to allow more seamless interoperability between KuduPartial rows and Python data structures. Additionally, the PartialRow class is currently tied to the Table class. This should instead be tied to a schema.
Several options should be provided:
- Dictionary (eg. `schema.row_from_record(
{'key': 1, 'micros': datetime.now(), 'string_val': 'test}
)`)
- Tuple (eg. `schema.row_from_record((1, datetime.now(), 'test'))`)
Attachments
Issue Links
- is depended upon by
-
KUDU-1648 [Python] - Fully Implement Range Partitions
- Resolved