Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13073

BinaryRow in Blink runtime has wrong FIRST_BYTE_ZERO mask

    XMLWordPrintableJSON

Details

    Description

      BinaryRow which in blink runtime module has static constant named FIRST_BYTE_ZERO, it's purpose is to filter first byte。

      Use 0xFFF0 as a exsample:

      its binary sequence is: 1111111111110000。It has 2 problems:

      1. It can only skip 4 bits of header. If the header is big than 15, then any return long value from pos 0 intersect with FIRST_BYTE_ZERO will not equal to 0. Then will always return true.
      2. It only can check 8 bit(0-7) of null fields, which left 8-55 bit of null field unchecked.

      Attachments

        Issue Links

          Activity

            People

              LouisXu777 Louis Xu
              LouisXu777 Louis Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m