-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Fix a bug when loading DruidDatasource. #213
Conversation
👍 |
|
if self.datasource.cache_timeout: | ||
return self.datasource.cache_timeout | ||
if hasattr(self.datasource, 'database') \ | ||
and self.datasource.database.cache_timeout: |
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.
why not put on the previous line?
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.
It exceeds the line limit, which Max set to be 90 @hongbozeng
|
Coverage decreased (-0.04%) to 71.139% when pulling e598e2867d23369ecb539e5d1fb0daac044acfc3 on kim/fix_druid_datasource_bug into fd40742 on master. |
e598e28
to
e5553ab
Compare
…rement (apache#213) Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version. - [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases) - [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md) - [Commits](apache-superset/superset-ui-plugins@v0.10.0...v0.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
…rement (apache#213) Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version. - [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases) - [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md) - [Commits](apache-superset/superset-ui-plugins@v0.10.0...v0.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Updates the requirements on [@data-ui/event-flow](https://github.com/williaster/data-ui) to permit the latest version. - [Release notes](https://github.com/williaster/data-ui/releases) - [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md) - [Commits](williaster/data-ui@v0.0.80...v0.0.81) Signed-off-by: dependabot-preview[bot] <[email protected]>
…rement (apache#213) Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version. - [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases) - [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md) - [Commits](apache-superset/superset-ui-plugins@v0.10.0...v0.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Updates the requirements on [@data-ui/event-flow](https://github.com/williaster/data-ui) to permit the latest version. - [Release notes](https://github.com/williaster/data-ui/releases) - [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md) - [Commits](williaster/data-ui@v0.0.80...v0.0.81) Signed-off-by: dependabot-preview[bot] <[email protected]>
…rement (apache#213) Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version. - [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases) - [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md) - [Commits](apache-superset/superset-ui-plugins@v0.10.0...v0.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Updates the requirements on [@data-ui/event-flow](https://github.com/williaster/data-ui) to permit the latest version. - [Release notes](https://github.com/williaster/data-ui/releases) - [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md) - [Commits](williaster/data-ui@v0.0.80...v0.0.81) Signed-off-by: dependabot-preview[bot] <[email protected]>
…rement (apache#213) Updates the requirements on [@superset-ui/legacy-preset-chart-big-number](https://github.com/apache-superset/superset-ui-plugins) to permit the latest version. - [Release notes](https://github.com/apache-superset/superset-ui-plugins/releases) - [Changelog](https://github.com/apache-superset/superset-ui-plugins/blob/master/CHANGELOG.md) - [Commits](apache-superset/superset-ui-plugins@v0.10.0...v0.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]>
Updates the requirements on [@data-ui/event-flow](https://github.com/williaster/data-ui) to permit the latest version. - [Release notes](https://github.com/williaster/data-ui/releases) - [Changelog](https://github.com/williaster/data-ui/blob/master/CHANGELOG.md) - [Commits](williaster/data-ui@v0.0.80...v0.0.81) Signed-off-by: dependabot-preview[bot] <[email protected]>
A bug is introduced in this commit
https://github.com/airbnb/caravel/pull/188/files#diff-ba3aebfb9fa5aadd492450873088cd15R222
caused this error when viewing DruidDatasource.
@mistercrunch @hongbozeng