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

Not able to add cassandra datasources on redash >= v10 #19

Open
leandro-lorenzini opened this issue Mar 25, 2022 · 0 comments
Open

Not able to add cassandra datasources on redash >= v10 #19

leandro-lorenzini opened this issue Mar 25, 2022 · 0 comments

Comments

@leandro-lorenzini
Copy link

Redash expects a required "useSsl" attribute when adding a cassandra datasource, however the provider only allows use_ssl which is not a valid option for redash >= v10 cassandra datasource.

redashConversion := map[string]string{
		"connection_string":                  "connectionString",
		"db_name":                            "dbName",
		"json_key_file":                      "jsonKeyFile",
		"load_schema":                        "loadSchema",
		"maximum_billing_tier":               "maximumBillingTier",
		"project_id":                         "projectId",
		"replica_set_name":                   "replicaSetName",
		"total_mbytes_processed_limit":       "totalMBytesProcessedLimit",
		"use_standard_sql":                   "useStandardSql",
		"user_defined_function_resource_uri": "userDefinedFunctionResourceUri",
		"use_ssl": 		    	      "useSsl",  #MAYBE ADD THIS?
	}

	terraformConversion := map[string]string{
		"connectionString":               "connection_string",
		"dbName":                         "db_name",
		"jsonKeyFile":                    "json_key_file",
		"loadSchema":                     "load_schema",
		"maximumBillingTier":             "maximum_billing_tier",
		"projectId":                      "project_id",
		"replicaSetName":                 "replica_set_name",
		"totalMBytesProcessedLimit":      "total_mbytes_processed_limit",
		"useStandardSql":                 "use_standard_sql",
		"userDefinedFunctionResourceUri": "user_defined_function_resource_uri",
		"useSsl": 			  "use_ssl", #MAYBE ADD THIS?
	}
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

No branches or pull requests

1 participant