[
https://issues.apache.org/jira/browse/PHOENIX-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004522#comment-15004522
]
Hudson commented on PHOENIX-2288:
---------------------------------
FAILURE: Integrated in Phoenix-master #957 (See
[https://builds.apache.org/job/Phoenix-master/957/])
PHOENIX-2288: PDecimal precision and scale aren't carried through to (jmahonin:
rev 9343743157f1cc03b1b8b815289b6127a30d740f)
* phoenix-spark/src/it/resources/setup.sql
* phoenix-spark/src/main/scala/org/apache/phoenix/spark/PhoenixRDD.scala
* phoenix-core/src/main/java/org/apache/phoenix/util/ColumnInfo.java
* phoenix-core/src/test/java/org/apache/phoenix/util/ColumnInfoTest.java
* phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java
* phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
> Phoenix-Spark: PDecimal precision and scale aren't carried through to Spark
> DataFrame
> -------------------------------------------------------------------------------------
>
> Key: PHOENIX-2288
> URL: https://issues.apache.org/jira/browse/PHOENIX-2288
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.5.2
> Reporter: Josh Mahonin
> Assignee: Josh Mahonin
> Fix For: 4.7.0
>
> Attachments: PHOENIX-2288-v2.patch, PHOENIX-2288-v3.patch,
> PHOENIX-2288.patch
>
>
> When loading a Spark dataframe from a Phoenix table with a 'DECIMAL' type,
> the underlying precision and scale aren't carried forward to Spark.
> The Spark catalyst schema converter should load these from the underlying
> column. These appear to be exposed in the ResultSetMetaData, but if there was
> a way to expose these somehow through ColumnInfo, it would be cleaner.
> I'm not sure if Pig has the same issues or not, but I suspect it may.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)