Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2495

query exception when integer column encoded as date/time encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • v2.0.0
    • None
    • None

    Description

      in KYLIN-2222, we claimed that integer column can use date/time encoding. however when I tried to query on such cube, an exception is thrown:

      java.sql.SQLException: Error while executing SQL "select * from fact0309
      LIMIT 50000": For input string: "702259200000"
      

      the fact table desc is:

      hive> desc fact0309
          > ;
      OK
      tdate               	int                 	                    
      country             	string              	                    
      price               	decimal(10,0)     
      

      and the sample data is:

      19980302	US	100
      19920403	CN	100
      19920403	US	33
      

      Attachments

        Issue Links

          Activity

            People

              mahongbin Hongbin Ma
              mahongbin Hongbin Ma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: