You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "cherish peng (JIRA)" <ji...@apache.org> on 2018/07/17 08:25:00 UTC

[jira] [Commented] (PHOENIX-4816) When select dynamic columns throw InvalidQualifierBytesException

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

cherish peng commented on PHOENIX-4816:
---------------------------------------

When execute the [http://phoenix.apache.org/dynamic_columns.html|http://phoenix.apache.org/dynamic_columns.html's] example, throw "Caused by: org.apache.phoenix.schema.PTable$QualifierEncodingScheme$InvalidQualifierBytesException: Invalid number of qualifier bytes. Expected length: 2. Actual: 10
 at org.apache.phoenix.schema.PTable$QualifierEncodingScheme$3.decode(PTable.java:332)"

I tried various versions of phoenix\hadoop\hbase's , the problem still exist.

Steps:

1. sqlline.py master
2. input "CREATE TABLE EventLog ( eventId BIGINT NOT NULL, eventTime TIME NOT NULL, eventType CHAR(3) CONSTRAINT pk PRIMARY KEY (eventId, eventTime))
3. input "SELECT eventTime, lastGCTime, usedMemory, maxMemory FROM EventLog(lastGCTime TIME, usedMemory BIGINT, maxMemory BIGINT) WHERE eventType = 'OOM' AND lastGCTime < eventTime - 1 "

 

> When select dynamic columns throw InvalidQualifierBytesException
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-4816
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4816
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: cherish peng
>            Priority: Blocker
>              Labels: newbie
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)