[ 
https://issues.apache.org/jira/browse/KUDU-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jordan Birdsell updated KUDU-1680:
----------------------------------
    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'))`)

  was:
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.

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'))`)


> Python - Improve PartialRow Usability
> -------------------------------------
>
>                 Key: KUDU-1680
>                 URL: https://issues.apache.org/jira/browse/KUDU-1680
>             Project: Kudu
>          Issue Type: Sub-task
>          Components: python
>    Affects Versions: 1.0.0
>            Reporter: Jordan Birdsell
>            Assignee: Jordan Birdsell
>
> 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'))`)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to