[jira] [Updated] (ARROW-6878) [Python] pa.array() does not handle list of dicts with bytes keys correctly under python3

2019-10-17 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou updated ARROW-6878:
--
Fix Version/s: 0.15.1

> [Python] pa.array() does not handle list of dicts with bytes keys correctly 
> under python3
> -
>
> Key: ARROW-6878
> URL: https://issues.apache.org/jira/browse/ARROW-6878
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Zhuo Peng
>Assignee: Antoine Pitrou
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.0.0, 0.15.1
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> It creates sub-arrays with nulls filled, instead of the provided values.
> $ python
> Python 3.6.8 (default, Jan 3 2019, 03:42:36) 
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> pa.__version__
> '0.15.0'
> >>> a = pa.array([\{b"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  null
>  ]
> >>> a = pa.array([\{"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  [
>  1,
>  2,
>  3
>  ]
>  ]
>  
> It works under python2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-6878) [Python] pa.array() does not handle list of dicts with bytes keys correctly under python3

2019-10-14 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated ARROW-6878:
--
Labels: pull-request-available  (was: )

> [Python] pa.array() does not handle list of dicts with bytes keys correctly 
> under python3
> -
>
> Key: ARROW-6878
> URL: https://issues.apache.org/jira/browse/ARROW-6878
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Zhuo Peng
>Assignee: Antoine Pitrou
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.0.0, 0.15.1
>
>
> It creates sub-arrays with nulls filled, instead of the provided values.
> $ python
> Python 3.6.8 (default, Jan 3 2019, 03:42:36) 
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> pa.__version__
> '0.15.0'
> >>> a = pa.array([\{b"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  null
>  ]
> >>> a = pa.array([\{"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  [
>  1,
>  2,
>  3
>  ]
>  ]
>  
> It works under python2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-6878) [Python] pa.array() does not handle list of dicts with bytes keys correctly under python3

2019-10-14 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou updated ARROW-6878:
--
Fix Version/s: 0.15.1

> [Python] pa.array() does not handle list of dicts with bytes keys correctly 
> under python3
> -
>
> Key: ARROW-6878
> URL: https://issues.apache.org/jira/browse/ARROW-6878
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Zhuo Peng
>Assignee: Antoine Pitrou
>Priority: Major
> Fix For: 1.0.0, 0.15.1
>
>
> It creates sub-arrays with nulls filled, instead of the provided values.
> $ python
> Python 3.6.8 (default, Jan 3 2019, 03:42:36) 
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> pa.__version__
> '0.15.0'
> >>> a = pa.array([\{b"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  null
>  ]
> >>> a = pa.array([\{"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  [
>  1,
>  2,
>  3
>  ]
>  ]
>  
> It works under python2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-6878) [Python] pa.array() does not handle list of dicts with bytes keys correctly under python3

2019-10-14 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou updated ARROW-6878:
--
Fix Version/s: 1.0.0

> [Python] pa.array() does not handle list of dicts with bytes keys correctly 
> under python3
> -
>
> Key: ARROW-6878
> URL: https://issues.apache.org/jira/browse/ARROW-6878
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Zhuo Peng
>Assignee: Antoine Pitrou
>Priority: Major
> Fix For: 1.0.0
>
>
> It creates sub-arrays with nulls filled, instead of the provided values.
> $ python
> Python 3.6.8 (default, Jan 3 2019, 03:42:36) 
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> pa.__version__
> '0.15.0'
> >>> a = pa.array([\{b"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  null
>  ]
> >>> a = pa.array([\{"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  [
>  1,
>  2,
>  3
>  ]
>  ]
>  
> It works under python2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ARROW-6878) [Python] pa.array() does not handle list of dicts with bytes keys correctly under python3

2019-10-14 Thread Antoine Pitrou (Jira)


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

Antoine Pitrou updated ARROW-6878:
--
Component/s: Python

> [Python] pa.array() does not handle list of dicts with bytes keys correctly 
> under python3
> -
>
> Key: ARROW-6878
> URL: https://issues.apache.org/jira/browse/ARROW-6878
> Project: Apache Arrow
>  Issue Type: Bug
>  Components: Python
>Reporter: Zhuo Peng
>Priority: Major
>
> It creates sub-arrays with nulls filled, instead of the provided values.
> $ python
> Python 3.6.8 (default, Jan 3 2019, 03:42:36) 
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> pa.__version__
> '0.15.0'
> >>> a = pa.array([\{b"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  null
>  ]
> >>> a = pa.array([\{"a": [1, 2, 3]}])
> >>> a
> 
> -- is_valid: all not null
> -- child 0 type: list
>  [
>  [
>  1,
>  2,
>  3
>  ]
>  ]
>  
> It works under python2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)