Code Discrepancy in `spark.datahub.metadata.table.hive_platform_alias` Configuration in Spark Lineage Beta

Original Slack Thread

in spark lineage beta(acryl-spark-lineage-0.2.9), spark.datahub.metadata.table.hive_platform_alias is not working. There is it in docs. but I think there is not it in code.

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)

<@U06TM7M40RK> Can you help with the questions in this thread?

:information_source: We’re experimenting with a new AI assistant for questions in the <#CUMUWQU66> channel to help you track down helpful resources more quickly. Keep in mind that responses may not always be spot-on; feel free to ask it follow-up questions and don’t forget to provide its responses a :thumbsup: or :thumbsdown: so other folks in the Community know if you’re still looking for help on the topic!

To assist you effectively, I need a bit more information:

  1. Are you using the UI or CLI for ingestion?
  2. Which version of DataHub are you using? (e.g., 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g., BigQuery)

Based on your message, it seems like you are encountering issues with the spark.datahub.metadata.table.hive_platform_alias configuration in the Spark Lineage Beta (acryl-spark-lineage-0.2.9). This configuration is documented but may not be functioning as expected in the code.

According to the|documentation, the spark.datahub.metadata.table.hive_platform_alias configuration is intended to allow users to set the platform alias for Hive tables, such as switching to Glue if using AWS Glue as the Hive metastore. However, if this configuration is not working in your setup, it might be due to discrepancies between the documentation and the actual implementation in the code.

To further investigate, you can:

  1. Check the Version: Ensure that you are using a version of the Spark Lineage Beta that supports this configuration. Sometimes, features documented may not be available in all versions.

  2. Review the Code: Look into the source code of the acryl-spark-lineage-0.2.9 to verify if the spark.datahub.metadata.table.hive_platform_alias is implemented. You can find the relevant codebase on|GitHub.

  3. Community and Support: Engage with the DataHub community on Slack or GitHub Issues for more immediate support. There may be ongoing discussions or patches available that address this issue.

Would you like more detailed guidance on any of these steps or further assistance with a specific aspect of your setup?

Sources:|release is different from master code.
release version is making hive lineage, but building master code is making s3 lineage.

in source-jar, hive platform alias is camel case not snake case.

in|docs, spark.datahub.metadata.table.hive_platform_alias but spark.datahub.metadata.dataset.hivePlatformAlias is working.

but I don’t know why code is different with release.