[ 
https://issues.apache.org/jira/browse/PHOENIX-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500597#comment-14500597
 ] 

Hudson commented on PHOENIX-1759:
---------------------------------

FAILURE: Integrated in Phoenix-master #691 (See 
[https://builds.apache.org/job/Phoenix-master/691/])
PHOENIX-1759 PhoenixArray to have decent toString() implementation (Alex 
Warshavsky) (samarth.jain: rev 45b1d4b86d217c9b420791b9a4350608b390c1c5)
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PVarcharArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/BasePhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/BasePrimitiveIntPhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveIntPhoenixArrayToStringTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArrayIT.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PVarchar.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveBytePhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveDoublePhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PDateArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveFloatPhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveShortPhoenixArrayToStringTest.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PDate.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PDataTypeForArraysTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveBooleanPhoenixArrayToStringTest.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PhoenixArray.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/BasePrimitiveDoublePhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveLongPhoenixArrayToStringTest.java


> PhoenixArray to have decent .toString() implementation.
> -------------------------------------------------------
>
>                 Key: PHOENIX-1759
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1759
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Serhiy Bilousov
>            Assignee: Alex Warshavsky
>            Priority: Minor
>              Labels: Newbie
>             Fix For: 5.0.0, 4.4.0
>
>
> In sqlline when query TABLE or VIEW with ARRAY[] datatype it shows long 
> string as value for the ARRAY[] column:
> {code}
> org.apache.phoenix.schema.types.PhoenixArray$PrimitiveIntPhoenixArray@d338d 
> {code}
> We getting the string like this because sqlline calls ResultSet.getString() 
> on the array column. 
> Even thou it more of an issue in sqlline than in PHOENIX, as the value that 
> is returned is a valid JDBC Array, adding a decent toString implementation in 
> PhoenixArray (or each of its subclasses) would allow user to see  something 
> like \[ 1,2,3,555,666 \] of what we see now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to