You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/05/06 17:29:49 UTC

[GitHub] [incubator-hudi] nandini57 edited a comment on issue #1582: [SUPPORT] PreCombineAndUpdate in Payload

nandini57 edited a comment on issue #1582:
URL: https://github.com/apache/incubator-hudi/issues/1582#issuecomment-624783699


   Hi Balaji,
   If i rephrase the problem , at commit X, i have 3 records.I do an upsert and change 1 record at commit X+1.As of commit X+1,i have the latest view of data which is fine.But as of commit X, i don't get the view of data as commit X(the original 3 recs).when i do a spark read with parquet format i get a full view which includes both X and X+1 but how do i filter as of X
   
   `+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+----------------+----+---+----------+-------+--------+
   |_hoodie_commit_time|_hoodie_commit_seqno|_hoodie_record_key|_hoodie_partition_path|_hoodie_file_name                                                    |id |name            |team|ts |recordKey |batchId|uniqueCd|
   +-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+----------------+----+---+----------+-------+--------+
   |20200506122159     |20200506122159_0_4  |5                 |-464907625            |c7fd919f-0152-438f-b4b6-882464570f67-0_0-34-36_20200506122159.parquet|5  |sandeep-upserted|hudi|2  |-464907625|18     |18_5    |
   |20200506122143     |20200506122143_0_2  |1                 |-464907625            |c7fd919f-0152-438f-b4b6-882464570f67-0_0-5-5_20200506122143.parquet  |1  |mandeep         |hudi|1  |-464907625|15     |15_1    |
   |20200506122143     |20200506122143_0_3  |2                 |-464907625            |c7fd919f-0152-438f-b4b6-882464570f67-0_0-5-5_20200506122143.parquet  |2  |jhandeep        |modi|2  |-464907625|15     |15_2    |
   |20200506122143     |20200506122143_0_1  |5                 |-464907625            |c7fd919f-0152-438f-b4b6-882464570f67-0_0-5-5_20200506122143.parquet  |5  |sandeep         |hudi|1  |-464907625|15     |15_5    |
   |20200506122143     |20200506122143_0_2  |1                 |-464907625            |c7fd919f-0152-438f-b4b6-882464570f67-0_0-5-5_20200506122143.parquet  |1  |mandeep         |hudi|1  |-464907625|15     |15_1    |
   |20200506122143     |20200506122143_0_3  |2                 |-464907625            |c7fd919f-0152-438f-b4b6-882464570f67-0_0-5-5_20200506122143.parquet  |2  |jhandeep        |modi|2  |-464907625|15     |15_2    |
   +-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+----------------+----+---+----------+-------+--------+
   `
   
   `
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org