diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-06-16 14:27:09 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-06-16 14:27:09 -0700 |
commit | 2d27eb1e753daefbd311136fc7de1a3e8fb9dc63 (patch) | |
tree | f8ae27d7d118c40e77f7eec0c2faa7c3f1598a85 /sql/core | |
parent | 796429d7117e2544207bd9d67bda8b603cb1a535 (diff) | |
download | spark-2d27eb1e753daefbd311136fc7de1a3e8fb9dc63.tar.gz spark-2d27eb1e753daefbd311136fc7de1a3e8fb9dc63.tar.bz2 spark-2d27eb1e753daefbd311136fc7de1a3e8fb9dc63.zip |
[MINOR][DOCS][SQL] Fix some comments about types(TypeCoercion,Partition) and exceptions.
## What changes were proposed in this pull request?
This PR contains a few changes on code comments.
- `HiveTypeCoercion` is renamed into `TypeCoercion`.
- `NoSuchDatabaseException` is only used for the absence of database.
- For partition type inference, only `DoubleType` is considered.
## How was this patch tested?
N/A
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #13674 from dongjoon-hyun/minor_doc_types.
Diffstat (limited to 'sql/core')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala index 2340ff0afe..388df7002d 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala @@ -159,7 +159,7 @@ private[sql] object PartitioningUtils { * Seq( * Literal.create(42, IntegerType), * Literal.create("hello", StringType), - * Literal.create(3.14, FloatType))) + * Literal.create(3.14, DoubleType))) * }}} * and the path when we stop the discovery is: * {{{ |