Skip to content

use ScalarValue::to_pyarrow to convert to python object#731

Merged
andygrove merged 1 commit into
apache:mainfrom
Michael-J-Ward:scalar-value-to-python
Jun 16, 2024
Merged

use ScalarValue::to_pyarrow to convert to python object#731
andygrove merged 1 commit into
apache:mainfrom
Michael-J-Ward:scalar-value-to-python

Conversation

@Michael-J-Ward
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #729

Rationale for this change

datafusion already implements converting ScalarValues to python objects.

What changes are included in this PR?

Are there any user-facing changes?

ScalarValue types that we hadn't converted like Float16, BigDecimal128 will now be supported.

It should be strictly additive, I think.

Copy link
Copy Markdown
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andygrove andygrove merged commit 1f49d46 into apache:main Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simpify PyExpr::python_value by using ScalarValue::into_py

2 participants