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

There is no supertype for types Int64, UInt64 #40

Open
javiererrogarcia opened this issue Oct 11, 2022 · 3 comments
Open

There is no supertype for types Int64, UInt64 #40

javiererrogarcia opened this issue Oct 11, 2022 · 3 comments

Comments

@javiererrogarcia
Copy link

javiererrogarcia commented Oct 11, 2022

Hello we are facing the next issue in our tableau dashboards, do you know some workaround or fix?

There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing multiIf((((toYear(AT_DT_FLIGHT) * 100) + MONTH(AT_DT_FLIGHT))

Thank you in advance, we love your connector!

@yurifal
Copy link
Contributor

yurifal commented Oct 14, 2022

Hi @javiererrogarcia

There's no support of UInt64 and above (as Whole Numbers) in Tableau.
Casting to String (to be counted uniques or grouped by) seems a workaround imho.
This is what our connector is doing by default.

If you'd like to cast to different type (for ex FLOAT), you could do it
in the connection dialog --> Advanced tab --> JDBC Driver typeMappings

Screenshot 2022-10-14 at 08 52 26

@javiererrogarcia
Copy link
Author

Hello, we have implemented in JDBC Driver TypeMappings as you said but we still have the exact error

image

image

Do you know any workaround?

Thank you in advance

@yurifal
Copy link
Contributor

yurifal commented Oct 26, 2022

Hi @javiererrogarcia

Could you please try

Int64=java.lang.String,UInt64=java.lang.String

and see if this could help?

FYI This could be relevant to your issue (imho):
ClickHouse/ClickHouse#21794

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

2 participants