Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-12143

When column type is binary, select occurs ClassCastExcption in Beeline.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    Description

      In Beeline, execute below sql:
      1. create table bb(bi binary);
      2. load data inpath 'tmp/data' into table bb;
      3.select * from bb;
      Error: java.lang.ClassCastException: java.lang.String cannot be cast to [B (state=, code=0)

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            meiyoula meiyoula
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: