[
https://issues.apache.org/jira/browse/FLINK-29432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-29432:
-----------------------------------
Labels: pull-request-available stale-major (was: pull-request-available)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Major but is unassigned and neither itself nor its Sub-Tasks have been updated
for 60 days. I have gone ahead and added a "stale-major" to the issue". If this
ticket is a Major, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> Replace GenericUDFNvl with GenericUDFCoalesce
> ---------------------------------------------
>
> Key: FLINK-29432
> URL: https://issues.apache.org/jira/browse/FLINK-29432
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Hive
> Affects Versions: 1.15.3
> Reporter: Prabhu Joseph
> Priority: Major
> Labels: pull-request-available, stale-major
>
> Hive NVL() function has many issues like
> [HIVE-25193|https://issues.apache.org/jira/browse/HIVE-25193] and it is
> retired [HIVE-20961|https://issues.apache.org/jira/browse/HIVE-20961]. Our
> internal hive distribution has the fix for HIVE-20961. With this fix, Flink
> Build is failing with below as there is no more GenericUDFNvl in Hive. This
> needs to be replaced with GenericUDFCoalesce.
> {code}
> [INFO]
> /codebuild/output/src366217558/src/build/flink/rpm/BUILD/flink-1.15.2/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/copy/HiveParserDefaultGraphWalker.java:
> Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /codebuild/output/src366217558/src/build/flink/rpm/BUILD/flink-1.15.2/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/HiveParserTypeCheckProcFactory.java:[75,45]
> cannot find symbol
> symbol: class GenericUDFNvl
> location: package org.apache.hadoop.hive.ql.udf.generic
> [ERROR]
> /codebuild/output/src366217558/src/build/flink/rpm/BUILD/flink-1.15.2/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/HiveParserTypeCheckProcFactory.java:[1216,41]
> cannot find symbol
> symbol: class GenericUDFNvl
> location: class
> org.apache.flink.table.planner.delegation.hive.HiveParserTypeCheckProcFactory.DefaultExprProcessor
> [ERROR]
> /codebuild/output/src366217558/src/build/flink/rpm/BUILD/flink-1.15.2/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/copy/HiveParserSemanticAnalyzer.java:[231,26]
> constructor GlobalLimitCtx in class
> org.apache.hadoop.hive.ql.parse.GlobalLimitCtx cannot be applied to given
> types;
> required: org.apache.hadoop.hive.conf.HiveConf
> found: no arguments
> reason: actual and formal argument lists differ in length
> [INFO] 3 errors
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)