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

HBaseSerDe should allow users to specify the timestamp passed to Puts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None
    • Tags:
      hbase

      Description

      Users may want to specify the timestamp used for Put requests to hbase. Thus enabling users to have the same timestamp for a single batch of writes. Which would be useful for a number of things. HCatalog's HBase storageHandler implementation makes use of this feature to provide users with snapshot isolation and write transactions. My proposal is to add the timestamp option as a final static member:

      public static final long HBASE_PUT_TIMESTAMP = "hbase.put_timestamp"

      And passing this value to all the Puts created by serialize()

        Attachments

          Activity

            People

            • Assignee:
              toffer Francis Liu
              Reporter:
              toffer Francis Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: