Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: removed overwritting of indexername in obj #962

Merged
merged 5 commits into from
Jul 31, 2024

Conversation

Kevin101Zhang
Copy link
Contributor

@Kevin101Zhang Kevin101Zhang commented Jul 31, 2024

Databricks stores account and function names in their sanitized form (Only alphanumerics and underscores) as this is how they are stored in Hasura. However, the actual indexer and accounts are stored in both RPC and the queryapi_indexer under their original names.

This PR prevents the metadata from databricks overwriting the original names with the sanitized ones.

@Kevin101Zhang Kevin101Zhang linked an issue Jul 31, 2024 that may be closed by this pull request
@Kevin101Zhang Kevin101Zhang marked this pull request as ready for review July 31, 2024 23:32
@Kevin101Zhang Kevin101Zhang requested a review from a team as a code owner July 31, 2024 23:32
@@ -158,7 +158,6 @@ const fetchIndexerMetadata = () => {
original_deployment_date
}) => {
const indexer = {
accountId: indexer_account_id,
indexerName: indexer_name,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove this too?

@Kevin101Zhang Kevin101Zhang merged commit 701ea19 into main Jul 31, 2024
4 checks passed
@Kevin101Zhang Kevin101Zhang deleted the 961-indexer-name-is-served-incorrectly-to-the-url branch July 31, 2024 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

indexer name is served incorrectly to the URL
2 participants