n3nash edited a comment on issue #2860: URL: https://github.com/apache/hudi/issues/2860#issuecomment-824440054
@shenbinglife you can just look for the columns `_hoodie_record_key` and `_hoodie_partition_path` . There is no "Hudi API" per se, you can use your choice of query engine spark (spark-sql or spark datasource), presto or hive to query only these columns to get this information. Are you looking to get the fields chosen as "key" and "partition" ? If yes, that's not something Hudi stores, it will be passed by your client job which has this knowledge. -- 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: [email protected]
