You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ankit Raj Boudh (Jira)" <ji...@apache.org> on 2019/12/26 18:44:00 UTC
[jira] [Resolved] (SPARK-29853) lpad returning empty instead of
NULL for empty pad value
[ https://issues.apache.org/jira/browse/SPARK-29853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ankit Raj Boudh resolved SPARK-29853.
-------------------------------------
Fix Version/s: 3.0.0
Resolution: Duplicate
> lpad returning empty instead of NULL for empty pad value
> --------------------------------------------------------
>
> Key: SPARK-29853
> URL: https://issues.apache.org/jira/browse/SPARK-29853
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: ABHISHEK KUMAR GUPTA
> Priority: Minor
> Fix For: 3.0.0
>
>
> Spark
> 0: jdbc:hive2://10.18.18.214:23040/default> SELECT lpad('hi', 5, '');
> +----------------+--+
> | lpad(hi, 5, ) |
> +----------------+--+
> | hi |
> +----------------+--+
> 1 row selected (0.186 seconds)
> Hive:
> INFO : Concurrency mode is disabled, not creating a lock manager
> +-------+
> | _c0 |
> +-------+
> | NULL |
> +-------+
--
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