You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:12 UTC
[jira] [Updated] (SPARK-18202) Spark throws a mysterious system
error when a Hive command has at least 100,000 results
[ https://issues.apache.org/jira/browse/SPARK-18202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-18202:
---------------------------------
Labels: bulk-closed (was: )
> Spark throws a mysterious system error when a Hive command has at least 100,000 results
> ---------------------------------------------------------------------------------------
>
> Key: SPARK-18202
> URL: https://issues.apache.org/jira/browse/SPARK-18202
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.1
> Reporter: Michael Allman
> Priority: Major
> Labels: bulk-closed
>
> There's a hard coded limit (100,000) to the number of results a hive command can return. If the number of results is greater than or equal this limit, Spark throws a system exception with the somewhat mysterious message "RESULTS POSSIBLY TRUNCATED".
> This problem manifests itself when calling `SHOW PARTITIONS <table>`, where <table> is a Hive table with not less than 100,000 partitions.
> The code in question can be found here:
> https://github.com/apache/spark/blob/ccb11543048dccd4cc590a8db1df1d9d5847d112/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L560-L566
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org