You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "screamedddd (via GitHub)" <gi...@apache.org> on 2025/03/03 14:53:53 UTC
[I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
screamedddd opened a new issue, #12903:
URL: https://github.com/apache/hudi/issues/12903
Data like this :
_hoodie_record_key _hoodie_partition_path _hoodie_file_name
835735 20250101 0001.parquet
835735 20250201 0002.parquet

hudi table had compaction, same primary key can query(use snap-shot or read-optimize) many diff partition data.
use MOR table how can I achieve the same primary key, even if the data is in different partitions, only one piece of data can be queried?
**Expected behavior**
A clear and concise description of what you expected to happen.
**Environment Description**
* Hudi version : 0.15.0
* Spark version : 3.3.2
* Hive version : 2.1.1
* Hadoop version : 3.0.0
* Storage (HDFS/S3/GCS..) : HDFS
* Running on Docker? (yes/no) : no
**Additional context**
Add any other context about the problem here.
**Stacktrace**
```Add the stacktrace of the error.```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
Posted by "screamedddd (via GitHub)" <gi...@apache.org>.
screamedddd commented on issue #12903:
URL: https://github.com/apache/hudi/issues/12903#issuecomment-2697189379
> what kind of index did you use then?
index.type = BUCKET
hoodie.index.bucket.engine = SIMPLE
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
Posted by "screamedddd (via GitHub)" <gi...@apache.org>.
screamedddd commented on issue #12903:
URL: https://github.com/apache/hudi/issues/12903#issuecomment-2695888587
> what kind of index did you use then?
bucket index
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on issue #12903:
URL: https://github.com/apache/hudi/issues/12903#issuecomment-2695802938
what kind of index did you use then?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on issue #12903:
URL: https://github.com/apache/hudi/issues/12903#issuecomment-2699244332
I notice that the partition paths are different for the duplications, the bucket index does not deduplicate among multiple partitions, FLINK_STATE index supportes it but it would introduce additional state cost(for storing the index item mappings).
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
Posted by "screamedddd (via GitHub)" <gi...@apache.org>.
screamedddd commented on issue #12903:
URL: https://github.com/apache/hudi/issues/12903#issuecomment-2700715535
> I notice that the partition paths are different for the duplications, the bucket index does not deduplicate among multiple partitions, FLINK_STATE index supportes it but it would introduce additional state cost(for storing the index item mappings)
ok,thank you
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data [hudi]
Posted by "screamedddd (via GitHub)" <gi...@apache.org>.
screamedddd closed issue #12903: [SUPPORT] use flink1.16 write hudi0.15.0 MOR table, have same primary key data
URL: https://github.com/apache/hudi/issues/12903
--
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.
To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org