rusackas commented on a change in pull request #12122:
URL: https://github.com/apache/superset/pull/12122#discussion_r578199508
##########
File path: superset-frontend/src/SqlLab/components/ExploreResultsButton.jsx
##########
@@ -102,25 +102,32 @@ class ExploreResultsButton extends React.PureComponent {
renderTimeoutWarning() {
return (
- <Alert bsStyle="warning">
- {t(
- 'This query took %s seconds to run, ',
- Math.round(this.getQueryDuration()),
- ) +
- t(
- 'and the explore view times out at %s seconds ',
- this.props.timeout,
- ) +
- t(
- 'following this flow will most likely lead to your query timing
out. ',
- ) +
- t(
- 'We recommend your summarize your data further before following
that flow. ',
- ) +
- t('If activated you can use the ')}
- <strong>CREATE TABLE AS </strong>
- {t('feature to store a summarized data set that you can then
explore.')}
- </Alert>
+ <Alert
+ type="warning"
+ message={
+ <>
+ {t(
+ 'This query took %s seconds to run, ',
+ Math.round(this.getQueryDuration()),
+ ) +
+ t(
+ 'and the explore view times out at %s seconds ',
+ this.props.timeout,
+ ) +
+ t(
+ 'following this flow will most likely lead to your query
timing out. ',
+ ) +
+ t(
+ 'We recommend your summarize your data further before
following that flow. ',
+ ) +
+ t('If activated you can use the ')}
+ <strong>CREATE TABLE AS </strong>
Review comment:
```suggestion
<strong>{t("Create table as").toUpperCase()} </strong>
```
I'm guessing this would work? ¯\\\_(ツ)_/¯
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]