-
Notifications
You must be signed in to change notification settings - Fork 0
#78 Upgrade metabase to v0.50.36 #80
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
Conversation
MB_EXASOL_TEST_HOST=$EXASOL_HOST \ | ||
MB_EXASOL_TEST_PORT=$EXASOL_PORT \ | ||
MB_EXASOL_TEST_CERTIFICATE_FINGERPRINT=$fingerprint \ | ||
MB_EXASOL_TEST_USER=$EXASOL_USER \ | ||
MB_EXASOL_TEST_PASSWORD=$EXASOL_PASSWORD \ | ||
MB_DEV_ADDITIONAL_DRIVER_MANIFEST_PATHS="$exasol_driver_dir/resources/metabase-plugin.yaml" \ | ||
MB_ENCRYPTION_SECRET_KEY=$(openssl rand -base64 32) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required any more, breaks tests
(mt/dataset exasol-dataset/one-timestamp-per-day | ||
(mt/dataset exasol-dataset/one-ts-per-day |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long dataset name caused assertion error in Metabase, because table name was longer than 30 chars
(deftest substring->honeysql-test | ||
(testing "substring without length argument" | ||
(is (= #honeysql.types.SqlCall {:args ["arg" 4], :name :substring} (sql.qp/->honeysql :exasol [:substring "arg" 4])))) | ||
(testing "substring with length argument" | ||
(is (= #honeysql.types.SqlCall {:args ["arg" 4 6], :name :substring} (sql.qp/->honeysql :exasol [:substring "arg" 4 6]))))) | ||
|
||
(deftest concat->honeysql-test | ||
(testing "concat with single argument" | ||
(is (= #honeysql.types.SqlCall {:args ["arg1"], :name :concat} (sql.qp/->honeysql :exasol [:concat "arg1"])))) | ||
(testing "concat with two arguments" | ||
(is (= #honeysql.types.SqlCall {:args ["arg1" "arg2"], :name :concat} (sql.qp/->honeysql :exasol [:concat "arg1" "arg2"])))) | ||
(testing "concat with three arguments" | ||
(is (= #honeysql.types.SqlCall {:args ["arg1" "arg2" "arg3"], :name :concat} (sql.qp/->honeysql :exasol [:concat "arg1" "arg2" "arg3"]))))) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sql.qp/->honeysql
was removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Closes #78