Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: correct function compound names for IntervalDay and IntervalYear #240 #242

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

ajegou
Copy link
Contributor

@ajegou ajegou commented Mar 29, 2024

According to the documentation the short types for IntervalDay and IntervalYear are iday and iyear

https://substrait.io/extensions/#function-signature-compound-names

#240

…rait-io#240

According to the documentation (https://substrait.io/extensions/#function-signature-compound-names)
the short types for IntervalDay and IntervalYear are iday and iyear
}

@Override
public String visit(final Type.IntervalDay expr) {
return "day";
return "iday";
}
Copy link
Member

Choose a reason for hiding this comment

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

These now match what is expected based on https://substrait.io/extensions/#function-signature-compound-names

@vbarua vbarua changed the title fix: Use the right short types for IntervalDay and IntervalYear #240 fix: correct function compound names for IntervalDay and IntervalYear #240 Mar 29, 2024
@vbarua
Copy link
Member

vbarua commented Mar 29, 2024

Lint failures are coming from commit which will disappear on merge.

@vbarua vbarua merged commit 856331b into substrait-io:main Mar 29, 2024
7 of 8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants