Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

#11217 fix substring function in calcite query enginr #23

Open
wants to merge 1 commit into
base: kycalcite-1.16.0.x
Choose a base branch
from

Conversation

jiezouSH
Copy link

#11217 fix substring function in calcite query engine

@jiezouSH jiezouSH force-pushed the kap.11217 branch 2 times, most recently from a24413d to fb0046d Compare March 29, 2019 04:08
@@ -133,11 +133,21 @@ private SqlFunctions() {

/** SQL SUBSTRING(string FROM ... FOR ...) function. */
// override
public static String substring(String s, int from, int for_) {
if (s == null) {
public static String substring(String c, int s, int l) {
Copy link

Choose a reason for hiding this comment

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

substring(xx, 0, 1) result not expected

Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants