Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8569

error result when hive meet window function

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • SQL
    • None

    Description

      how to reproduce:

      drop table over10k;

      create table over10k(
      t tinyint,
      si smallint,
      i int,
      b bigint,
      f float,
      d double,
      bo boolean,
      s string,
      ts timestamp,
      dec decimal,
      bin binary)
      row format delimited
      fields terminated by '|';

      load data local inpath '../data/files/over10k' into table over10k;

      select ts,s,i, sum over(partition by ts order by s) from over10k where s='ethan van buren' and ts='2013-03-01 09:11:58.703325';

      the result is :

      2013-03-01 09:11:58.703325 ethan van buren 65644 131222
      2013-03-01 09:11:58.703325 ethan van buren 65578 131222

      but the fourth field of the first line should be 65644.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            tianyi Tianyi Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment