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

Jordan Birdsell updated KUDU-1680:
----------------------------------
       Priority: Major  (was: Minor)
    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.

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 write operations are not very elegant or comfortable 
for Python developers.

Several options should be provided:
 - Dictionary (eg. `table.new_insert({'key': 1, 'micros': datetime.now(), 
'string_val': 'test})`)
 - Tuple (eg. `table.new_insert((1, datetime.now(), 'test'))`)
 - numpy recarray?

        Summary: Python - Improve PartialRow Usability  (was: Python - Improve 
Write Operation Semantics)

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