diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-08 15:00:26 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-08 15:00:26 -0800 |
commit | 076009b94985b586ffa78078cc03abb85e308f06 (patch) | |
tree | f81680be06ffca7e879b940a4f29d98e19b0c37a /sql/hive | |
parent | d57daf1f7732a7ac54a91fe112deeda0a254f9ef (diff) | |
download | spark-076009b94985b586ffa78078cc03abb85e308f06.tar.gz spark-076009b94985b586ffa78078cc03abb85e308f06.tar.bz2 spark-076009b94985b586ffa78078cc03abb85e308f06.zip |
[SPARK-13400] Stop using deprecated Octal escape literals
## What changes were proposed in this pull request?
This removes the remaining deprecated Octal escape literals. The followings are the warnings on those two lines.
```
LiteralExpressionSuite.scala:99: Octal escape literals are deprecated, use \u0000 instead.
HiveQlSuite.scala:74: Octal escape literals are deprecated, use \u002c instead.
```
## How was this patch tested?
Manual.
During building, there should be no warning on `Octal escape literals`.
```
mvn -DskipTests clean install
```
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #11584 from dongjoon-hyun/SPARK-13400.
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala index efd33f5941..8e8d3f34cb 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala @@ -71,7 +71,7 @@ class HiveQlSuite extends SparkFunSuite with BeforeAndAfterAll { CatalogColumn("dt", "string", comment = Some("date type")) :: CatalogColumn("hour", "string", comment = Some("hour of the day")) :: Nil) assert(desc.storage.serdeProperties == - Map((serdeConstants.SERIALIZATION_FORMAT, "\054"), (serdeConstants.FIELD_DELIM, "\054"))) + Map((serdeConstants.SERIALIZATION_FORMAT, "\u002C"), (serdeConstants.FIELD_DELIM, "\u002C"))) assert(desc.storage.inputFormat == Some("org.apache.hadoop.hive.ql.io.RCFileInputFormat")) assert(desc.storage.outputFormat == Some("org.apache.hadoop.hive.ql.io.RCFileOutputFormat")) assert(desc.storage.serde == |