Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18969

access hbase thrift2 in python and cant get correct result use filterString

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: Thrift
    • Labels:
      None
    • Environment:

      python 2.7

      Description

      RowFilter(=, 'regexstring:(?s)^.{4}\\Q\xc4\x98\\E.{1}(?:.{6})*\\Q\x00\x00\x0a\x00\x00\x05\\E(?:.{6})*$')

      can match

      \x00\x00\x03Y\xC4\x98\xD0\x00\x00\x0A\x00\x00\x05 column=t:[\xC0\x8C1, timestamp=1507530755374, value={\x00\xE1\x00 

      but

      RowFilter(=, 'regexstring:(?s)^.{4}\\Q\xc4\\E.{2}(?:.{6})*\\Q\x00\x00\x0a\x00\x00\x05\\E(?:.{6})*$')

      can not match

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hu198021688500 bingo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: