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

[FLINK-27891][Table] Add ARRAY_APPEND and ARRAY_PREPEND functions #19873

Merged
merged 1 commit into from Feb 19, 2024

Conversation

snuyanzin
Copy link
Contributor

What is the purpose of the change

This is an implementation of ARRAY_APPEND and ARRAY_PREPEND inspired by #19543

Brief change log

  • ARRAY_APPEND for Table API and SQL
  • ARRAY_PREPEND for Table API and SQL

Verifying this change

This change added tests in CollectionFunctionsITCase

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): ( no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes )
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): ( no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: ( no)
  • The S3 file system connector: ( no)

Documentation

  • Does this pull request introduce a new feature? (yes)
  • If yes, how is the feature documented? (docs)

@flinkbot
Copy link
Collaborator

flinkbot commented Jun 3, 2022

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@snuyanzin
Copy link
Contributor Author

@flinkbot run azure

docs/data/sql_functions.yml Outdated Show resolved Hide resolved
Arrays.asList(
ARRAY_ELEMENT_ARG1, logical(LogicalTypeRoot.ARRAY))))
.outputTypeStrategy(nullableIfArgs(argument(1)))
.runtimeClass(
Copy link
Contributor

Choose a reason for hiding this comment

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

                .outputTypeStrategy(nullableIfArgs(argument(1))) is not correct

@snuyanzin
Copy link
Contributor Author

yes i will

@snuyanzin
Copy link
Contributor Author

rebased to fix conflicts

@snuyanzin
Copy link
Contributor Author

rebased since there were several build failure fixes in master

@snuyanzin snuyanzin requested a review from liuyongvs May 22, 2023 17:53
@snuyanzin snuyanzin force-pushed the flink27891 branch 2 times, most recently from d60012b to 09580aa Compare June 17, 2023 16:47
@snuyanzin
Copy link
Contributor Author

@flinkbot run azure

Copy link
Contributor

@liuyongvs liuyongvs left a comment

Choose a reason for hiding this comment

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

LGTM

@liuyongvs
Copy link
Contributor

@snuyanzin thanks for your pr, LGTM

@MartijnVisser
Copy link
Contributor

@snuyanzin Are you still working on finalizing this PR?

@snuyanzin
Copy link
Contributor Author

ah.. sorry completely forgot abou it
yeah, I'm going to fix the conflicts and merge after build is green

@snuyanzin
Copy link
Contributor Author

@MartijnVisser since there is a feature freeze do you think it makes sense to add it in 1.19?

Otherwise I'm going to add it when a new release starts

@MartijnVisser
Copy link
Contributor

Let's add it for 1.20, and honor the feature freeze

@snuyanzin
Copy link
Contributor Author

rebased to resolve conflicts

@snuyanzin snuyanzin force-pushed the flink27891 branch 2 times, most recently from 7fb37ff to 33f3d2d Compare February 16, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants