From issues-return-283601-archive-asf-public=cust-asf.ponee.io@spark.apache.org Mon Apr 19 14:41:05 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 3BD90180654 for ; Mon, 19 Apr 2021 16:41:05 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 7B419605F4 for ; Mon, 19 Apr 2021 14:41:04 +0000 (UTC) Received: (qmail 18947 invoked by uid 500); 19 Apr 2021 14:41:02 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 18930 invoked by uid 99); 19 Apr 2021 14:41:02 -0000 Received: from mailrelay1-he-de.apache.org (HELO mailrelay1-he-de.apache.org) (116.203.21.61) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2021 14:41:02 +0000 Received: from jira2-he-de.apache.org (unknown [IPv6:2a01:4f8:242:1f49::2]) by mailrelay1-he-de.apache.org (ASF Mail Server at mailrelay1-he-de.apache.org) with ESMTPS id E20463E8D2 for ; Mon, 19 Apr 2021 14:41:00 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 643FEC815B9 for ; Mon, 19 Apr 2021 14:41:00 +0000 (UTC) Date: Mon, 19 Apr 2021 14:41:00 +0000 (UTC) From: "Wenchen Fan (Jira)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SPARK-35102) Make spark.sql.hive.version meaningful and not deprecated MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-35102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wenchen Fan resolved SPARK-35102. --------------------------------- Fix Version/s: 3.2.0 Resolution: Fixed Issue resolved by pull request 32200 [https://github.com/apache/spark/pull/32200] > Make spark.sql.hive.version meaningful and not deprecated > --------------------------------------------------------- > > Key: SPARK-35102 > URL: https://issues.apache.org/jira/browse/SPARK-35102 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.2.0 > Reporter: Kent Yao > Assignee: Kent Yao > Priority: Minor > Fix For: 3.2.0 > > > Firstly let's take a look the definition and comment. > {code:java} > // A fake config which is only here for backward compatibility reasons. This config has no effect > // to Spark, just for reporting the builtin Hive version of Spark to existing applications that > // already rely on this config. > val FAKE_HIVE_VERSION = buildConf("spark.sql.hive.version") > .doc(s"deprecated, please use ${HIVE_METASTORE_VERSION.key} to get the Hive version in Spark.") > .version("1.1.1") > .fallbackConf(HIVE_METASTORE_VERSION) > {code} > It is used for reporting the built-in Hive version but the current status is unsatisfactory, as it is could be changed in many ways e.g. --conf/SET syntax. > It is marked as deprecated but kept a long way until now. I guess it is hard for us to remove it and not even necessary. > On second thought, it's actually good for us to keep it to work with the `spark.sql.hive.metastore.version`. As when `spark.sql.hive.metastore.version` is changed, it could just be used to report the compiled hive version statically, it's useful when an error occurs in this case. So this parameter should be fixed to compiled hive version. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org