-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-27797][API/Python] PythonTableUtils.getCollectionInputFormat c… #19834
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
Conversation
…annot correctly handle None values
|
Hi @HuangXingBo |
HuangXingBo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BiGsuw Thanks a lot for the PR. I have left a comment.
|
|
||
| return c -> { | ||
| if (c.getClass() != byte[].class || dataType instanceof PickledByteArrayTypeInfo) { | ||
| if (c != null && c.getClass() != byte[].class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If c== null, we should return c immediately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HuangXingBo Thanks for your comment,
you're right, this is a judgment that the data type is not what we want, I will change it now
…annot correctly handle None values(v2)
…onInputFormat cannot correctly handle None values This closes #19834.
…onInputFormat cannot correctly handle None values This closes apache#19834.
…onInputFormat cannot correctly handle None values This closes apache#19834.
…qlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd)
…qlCatalog This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK
…qlCatalog This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK
…qlCatalog This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd) [FLINK-27794][connectors/jdbc]Fix the bug of wrong primary key in MysqlCatalog [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/AbstractJdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/JdbcCatalogUtils.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/MySqlCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/PostgresCatalog.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactory.java modified: ../../../../../../../../../main/java/org/apache/flink/connector/jdbc/catalog/factory/JdbcCatalogFactoryOptions.java modified: ../../../../../../../../../../../../pom.xml modified: JdbcCatalogFactory.java fix MySqlCatalog [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. modify the way of getting PK add mysqlcatalog test case for PK [FLINK-26909][Client/Job Submission] Allow to set parallelism to be -1 from Cli This closes apache#19651. [FLINK-27167][test] change the junit-jupiter dependency scope to compile (cherry picked from commit 45afc03) [FLINK-27676][python] Fix on_timer output behind triggering watermark This closes apache#19765. [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception This closes apache#19241. [FLINK-27711][python][connector/pulsar] Fix the typo of the method name from set_topics_pattern to set_topic_pattern This closes apache#19774. [hotfix][python][connector/pulsar] Improve PulsarDeserializationSchema.flink_type_info set execution_config default to None [FLINK-24735][sql-client] Catch Throwable rather than Exception in LocalExecutor to avoid client crash This closes apache#19793. [FLINK-27733][python] Rework on_timer output behind watermark bug fix This closes apache#19788. [FLINK-27751][build] Disable jboss repository [FLINK-27174][connector/kafka] Fix checking of bootstrapServers when already provided in producer Properties [FLINK-27760][python] Fix the issue that NPE is thrown when executing PyFlink Table API jobs in batch mode This closes apache#19816. [FLINK-27776][python] Throw meaningful exceptions when UDAF doesn't override method 'merge' is used in cases where 'merge' is used This closes apache#19817. [FLINK-27450][hive] Upgrade default hive version to fix Hive SessionState initialization issue with jdk11 This closes apache#19806. [hotfix][doc] fix typo and enlarge image This closes apache#19848. [FLINK-27848][runtime] Fix the problem that ZooKeeperLeaderElectionDriver keeps writing leader information, using up zxid. This closes apache#19853 [FLINK-27797][python] Fix the issue that PythonTableUtils.getCollectionInputFormat cannot correctly handle None values This closes apache#19834. [FLINK-27683][table-planner] Fix SQL hints can't work with targetColumns This closes apache#19847 (cherry picked from commit 9bcc7fd)
…onInputFormat cannot correctly handle None values This closes apache#19834.
…onInputFormat cannot correctly handle None values This closes apache#19834.
What is the purpose of the change
fix PythonTableUtils.getCollectionInputFormat cannot correctly handle None values
, which is described in FLINK-27797
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): (no)
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? (no)
If yes, how is the feature documented? (no)