java.sql.SQLException: ERROR 201 (22000): Illegal data. Expected length of at least 8 bytes, but had 4

GitHub | jtaylor-sfdc | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 745#236942755

    GitHub | 8 months ago | jtaylor-sfdc
    java.sql.SQLException: ERROR 201 (22000): Illegal data. Expected length of at least 8 bytes, but had 4
  2. 0

    Phoenix issue-Distribution-IBM BigInsights- Hbase(1.1.1)-Phoenix 4.7

    GitHub | 8 months ago | anupriya231
    java.sql.SQLException: ERROR 201 (22000): Illegal data. Expected length of at least 8 bytes, but had 4

    Root Cause Analysis

    1. java.sql.SQLException

      ERROR 201 (22000): Illegal data. Expected length of at least 8 bytes, but had 4

      at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException()
    2. Phoenix Core
      PhoenixResultSet.getObject
      1. org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:422)
      2. org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:145)
      3. org.apache.phoenix.schema.KeyValueSchema.next(KeyValueSchema.java:211)
      4. org.apache.phoenix.expression.ProjectedColumnExpression.evaluate(ProjectedColumnExpression.java:115)
      5. org.apache.phoenix.compile.ExpressionProjector.getValue(ExpressionProjector.java:69)
      6. org.apache.phoenix.jdbc.PhoenixResultSet.getObject(PhoenixResultSet.java:524)
      6 frames
    3. sqlline
      SqlLine.main
      1. sqlline.Rows$Row.<init>(Rows.java:157)
      2. sqlline.BufferedRows.<init>(BufferedRows.java:38)
      3. sqlline.SqlLine.print(SqlLine.java:1650)
      4. sqlline.Commands.execute(Commands.java:833)
      5. sqlline.Commands.sql(Commands.java:732)
      6. sqlline.SqlLine.dispatch(SqlLine.java:808)
      7. sqlline.SqlLine.begin(SqlLine.java:681)
      8. sqlline.SqlLine.start(SqlLine.java:398)
      9. sqlline.SqlLine.main(SqlLine.java:292)
      9 frames