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

When server does not support column-statistics #107

Closed
iamsagarmaheta opened this issue Aug 7, 2023 · 2 comments
Closed

When server does not support column-statistics #107

iamsagarmaheta opened this issue Aug 7, 2023 · 2 comments

Comments

@iamsagarmaheta
Copy link

since last few days I've been getting the following error :

"Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.COLUMN_STATISTICS WHERE SCHEMA_NAME="

@adriancs2
Copy link
Member

You can use this:

// this might take some/lots of time
mb.ExportInfo.GetTotalRowsMode = GetTotalRowsMethod.SelectCount;
or
// this might save some/lots of time
mb.ExportInfo.GetTotalRowsMode = Skip;

// depands on how many rows do you have in your database

@iamsagarmaheta
Copy link
Author

iamsagarmaheta commented Aug 17, 2023

thanks for help
i tried this
although i am getting different error now so i think this is working
so closing the issue for now

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