The redshift database is big and I do not know which table has this field xid
Here are the list of errors I am getting
ERROR metabase.models.field-values Error fetching field values
java.sql.SQLException: Amazon Invalid operation: could not identify an ordering operator for type xid
Hint: Use an explicit ordering operator or modify the query.;
at com.amazon.redshift.client.messages.inbound.ErrorResponse.toErrorException(Unknown Source)
ERROR metabase.task.upgrade-checks Error fetching version info
clojure.lang.ExceptionInfo: clj-http: status 403 {:object {:cached nil, :request-time 1435, :repeatable? false, :protocol-version {:name “HTTP”, :major 1, :minor 1}, :streaming? true, :http-client #object[org.apache.http.impl.client.InternalHttpClient 0x6cbe8e01 “org.apache.http.impl.client.InternalHttpClient@6cbe8e01”], :chunked? false, :type :clj-http.client/unexceptional-status, :reason-phrase “Forbidden”, :headers {“x-amz-request-id” “C1357F09P59A78F2”, “x-amz-id-2” “0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=”, “Content-Type” “text/html; charset=utf-8”, “Content-Length” “303”, “Date” “Thu, 11 Mar 2021 06:15:00 GMT”, “Server” “AmazonS3”, “Connection” “close”}, :orig-content-encoding nil, :status 403, :length 303, :body “\n403 Forbidden\n\n
403 Forbidden
\n
\n- Code: AccessDenied
\n- Message: Access Denied
\n- RequestId: C1357F09P59A78F2
\n- HostId: 0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=
\n
\n
\n\n\n”, :trace-redirects []}, :environment {req {:content-type “application/json”, :url “
http://static.metabase.com/version-info.json”, :request-method :get, :flatten-nested-keys (:query-params), :headers {“content-type” “application/json”}}, p__30054 {:cached nil, :request-time 1435, :repeatable? false, :protocol-version {:name “HTTP”, :major 1, :minor 1}, :streaming? true, :http-client
#object[org.apache.http.impl.client.InternalHttpClient 0x6cbe8e01 “org.apache.http.impl.client.InternalHttpClient@6cbe8e01”], :chunked? false, :reason-phrase “Forbidden”, :headers {“x-amz-request-id” “C1357F09P59A78F2”, “x-amz-id-2” “0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=”, “Content-Type” “text/html; charset=utf-8”, “Content-Length” “303”, “Date” “Thu, 11 Mar 2021 06:15:00 GMT”, “Server” “AmazonS3”, “Connection” “close”}, :orig-content-encoding nil, :status 403, :length 303, :body “\n403 Forbidden\n\n
403 Forbidden
\n
\n- Code: AccessDenied
\n- Message: Access Denied
\n- RequestId: C1357F09P59A78F2
\n- HostId: 0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=
\n
\n
\n\n\n”, :trace-redirects []}, map__30055 {:cached nil, :request-time 1435, :repeatable? false, :protocol-version {:name “HTTP”, :major 1, :minor 1}, :streaming? true, :http-client
#object[org.apache.http.impl.client.InternalHttpClient 0x6cbe8e01 “org.apache.http.impl.client.InternalHttpClient@6cbe8e01”], :chunked? false, :reason-phrase “Forbidden”, :headers {“x-amz-request-id” “C1357F09P59A78F2”, “x-amz-id-2” “0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=”, “Content-Type” “text/html; charset=utf-8”, “Content-Length” “303”, “Date” “Thu, 11 Mar 2021 06:15:00 GMT”, “Server” “AmazonS3”, “Connection” “close”}, :orig-content-encoding nil, :status 403, :length 303, :body “\n403 Forbidden\n\n
403 Forbidden
\n
\n- Code: AccessDenied
\n- Message: Access Denied
\n- RequestId: C1357F09P59A78F2
\n- HostId: 0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=
\n
\n
\n\n\n”, :trace-redirects []}, resp {:cached nil, :request-time 1435, :repeatable? false, :protocol-version {:name “HTTP”, :major 1, :minor 1}, :streaming? true, :http-client
#object[org.apache.http.impl.client.InternalHttpClient 0x6cbe8e01 “org.apache.http.impl.client.InternalHttpClient@6cbe8e01”], :chunked? false, :reason-phrase “Forbidden”, :headers {“x-amz-request-id” “C1357F09P59A78F2”, “x-amz-id-2” “0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=”, “Content-Type” “text/html; charset=utf-8”, “Content-Length” “303”, “Date” “Thu, 11 Mar 2021 06:15:00 GMT”, “Server” “AmazonS3”, “Connection” “close”}, :orig-content-encoding nil, :status 403, :length 303, :body “\n403 Forbidden\n\n
403 Forbidden
\n
\n- Code: AccessDenied
\n- Message: Access Denied
\n- RequestId: C1357F09P59A78F2
\n- HostId: 0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=
\n
\n
\n\n\n”, :trace-redirects []}, status 403, data {:cached nil, :request-time 1435, :repeatable? false, :protocol-version {:name “HTTP”, :major 1, :minor 1}, :streaming? true, :http-client
#object[org.apache.http.impl.client.InternalHttpClient 0x6cbe8e01 “org.apache.http.impl.client.InternalHttpClient@6cbe8e01”], :chunked? false, :type :clj-http.client/unexceptional-status, :reason-phrase “Forbidden”, :headers {“x-amz-request-id” “C1357F09P59A78F2”, “x-amz-id-2” “0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=”, “Content-Type” “text/html; charset=utf-8”, “Content-Length” “303”, “Date” “Thu, 11 Mar 2021 06:15:00 GMT”, “Server” “AmazonS3”, “Connection” “close”}, :orig-content-encoding nil, :status 403, :length 303, :body “\n403 Forbidden\n\n
403 Forbidden
\n
\n- Code: AccessDenied
\n- Message: Access Denied
\n- RequestId: C1357F09P59A78F2
\n- HostId: 0Ht3d9tc1tVYcxfJp/H1Rkx1xMEjS+EDP9ysPZzwziHOa0CZp3s535hjqUQIsQka0KHslUBNdHQ=
\n
\n
\n\n\n”, :trace-redirects []}}}
at slingshot.support$stack_trace.invoke(support.clj:199)
ERROR metabase.models.field-values Error fetching field values
clojure.lang.ExceptionInfo: Error executing query {:sql “-- /* partner: “metabase”, {“dashboard_id”:null,“chart_id”:null,“optional_user_id”:null,“optional_account_id”:“e068a9f3-d5bd-40e0-84d4-93f495dabd8b”,“filter_values”:{}} */ Metabase\nSELECT “admin”.“v_get_tbl_priv_by_user”.“sel” AS “sel” FROM “admin”.“v_get_tbl_priv_by_user” GROUP BY “admin”.“v_get_tbl_priv_by_user”.“sel” ORDER BY “admin”.“v_get_tbl_priv_by_user”.“sel” ASC LIMIT 5000”, :params nil, :type :driver}
Amazon Invalid operation: schema “pg_temp_12” does not exist;
… 13 more
Let me know what information I can provide to resolve it. Many thanks