Skip to content

refine: substr error - #7339

Merged
alamb merged 5 commits into
apache:mainfrom
Weijun-H:refine-substr-error
Aug 21, 2023
Merged

refine: substr error#7339
alamb merged 5 commits into
apache:mainfrom
Weijun-H:refine-substr-error

Conversation

@Weijun-H

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes#7326

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@Weijun-HWeijun-H changed the title refine: substr errorrefine: substr errorAug 19, 2023
@github-actionsgithub-actionsBot added logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt) labels Aug 19, 2023
@Weijun-HWeijun-H changed the title refine: substr errorrefine: substr errorAug 19, 2023
Comment threaddatafusion/expr/src/built_in_function.rs Outdated
Comment threaddatafusion/expr/src/built_in_function.rs Outdated
Weijun-Hand others added 3 commits August 19, 2023 21:02
Co-authored-by: jakevin <jakevingoo@gmail.com>
Co-authored-by: jakevin <jakevingoo@gmail.com>
DataType::Utf8 => $utf8Type,
DataType::Null => DataType::Null,
_ => {
// this error is internal as `data_types` should have captured this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this comment appears to be out of date. However, the code is good so I think we can merge this PR in as is. Thank you @Weijun-H

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-exprLogical plan and expressionssqllogictestSQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong error for substr function

3 participants

@Weijun-H@alamb@jackwener