Skip to content

Conversation

@jimexist
Copy link
Member

Which issue does this PR close?

implement FromStr for FileType

Closes #.

Rationale for this change

implement FromStr for FileType so that it can accept lower case and thus more flexible

What changes are included in this PR?

Are there any user-facing changes?

@jimexist jimexist force-pushed the parse-file-format-case branch 4 times, most recently from 09513f3 to 5ffa3a6 Compare July 15, 2021 15:36
@jimexist jimexist force-pushed the parse-file-format-case branch from 5ffa3a6 to 6db4621 Compare July 16, 2021 09:29
@alamb alamb changed the title implement FromStr for FileType Allow filetype to be lowercase, Implement FromStr for FileType Jul 16, 2021
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thanks @jimexist

@alamb alamb merged commit 1dd5afe into apache:master Jul 16, 2021
@jimexist jimexist deleted the parse-file-format-case branch July 16, 2021 14:12
@houqp houqp added the enhancement New feature or request label Jul 31, 2021
unkloud pushed a commit to unkloud/datafusion that referenced this pull request Mar 23, 2025
H0TB0X420 pushed a commit to H0TB0X420/datafusion that referenced this pull request Oct 7, 2025
* deps: update datafusion to 39.0.0, pyo3 to 0.21, and object_store to 0.10.1

`datafusion-common` also depends on `pyo3`, so they need to be upgraded together.

* feat: remove GetIndexField

datafusion replaced Expr::GetIndexField with a FieldAccessor trait.

Ref apache#10568
Ref apache#10769

* feat: update ScalarFunction

The field `func_name` was changed to `func` as part of removing `ScalarFunctionDefinition` upstream.

Ref apache#10325

* feat: incorporate upstream array_slice fixes

Fixes apache#670

* update ExectionPlan::children impl for DatasetExec

Ref apache#10543

* update value_interval_daytime

Ref apache/arrow-rs#5769

* update regexp_replace and regexp_match

Fixes apache#677

* add gil-refs feature to pyo3

This silences pyo3's deprecation warnings for its new Bounds api.

It's the 1st step of the migration, and should be removed before merge.

Ref https://pyo3.rs/v0.21.0/migration#from-020-to-021

* fix signature for octet_length

Ref apache#10726

* update signature for covar_samp

AggregateUDF expressions now have a builder API design, which removes arguments like filter and order_by

Ref apache#10545
Ref apache#10492

* convert covar_pop to expr_fn api

Ref: https://github.com/apache/datafusion/pull/10418/files

* convert median to expr_fn api

Ref apache#10644

* convert variance sample to UDF

Ref apache#10667

* convert first_value and last_value to UDFs

Ref apache#10648

* checkpointing with a few todos to fix remaining compile errors

* impl PyExpr::python_value for IntervalDayTime and IntervalMonthDayNano

* convert sum aggregate function to UDF

* remove unnecessary clone on double reference

* apply cargo fmt

* remove duplicate allow-dead-code annotation

* update tpch examples for new pyarrow interval

Fixes apache#665

* marked q11 tpch example as expected fail

Ref apache#730

* add default stride of None back to array_slice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants