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

1. literal_column currently adds extra escape % for existing item, th… #744

Closed
wants to merge 6 commits into from
Closed

Conversation

ntantri
Copy link

@ntantri ntantri commented Jul 11, 2016

Fixes #617

…is now will be replaced with a custom compile method to remove percentage.

2. Refers to caravel issue: #617 and applied a solution discussed with sqlalchemy contributor: https://bitbucket.org/zzzeek/sqlalchemy/issues/3737/literal_column-given-a-specific-sql.
3. The actual milestone feature of literal_column of 1.2 will be early next year 2017.
@coveralls
Copy link

coveralls commented Jul 11, 2016

Coverage Status

Coverage increased (+0.04%) to 81.027% when pulling 239e529 on tan31989:master into 3c92ba9 on airbnb:master.

@coveralls
Copy link

coveralls commented Jul 12, 2016

Coverage Status

Coverage increased (+0.05%) to 81.032% when pulling 65942b7 on tan31989:master into 3c92ba9 on airbnb:master.

@coveralls
Copy link

coveralls commented Jul 12, 2016

Coverage Status

Coverage increased (+0.2%) to 81.172% when pulling d16ba60 on tan31989:master into 3c92ba9 on airbnb:master.

…ethod name from _remove_percents to _ to avoid w0612 pylint method name
@coveralls
Copy link

coveralls commented Jul 12, 2016

Coverage Status

Coverage increased (+0.2%) to 81.172% when pulling d81b42c on tan31989:master into 3c92ba9 on airbnb:master.

@coveralls
Copy link

coveralls commented Jul 18, 2016

Coverage Status

Coverage increased (+0.06%) to 81.242% when pulling 6337407 on tan31989:master into 2b237f4 on airbnb:master.

@xrmx
Copy link
Contributor

xrmx commented Sep 12, 2016

Patch looks good to me.

@xrmx
Copy link
Contributor

xrmx commented Sep 12, 2016

Squashed commits and rebased here:
xrmx@bf1d8e5

xrmx pushed a commit to xrmx/superset that referenced this pull request Sep 13, 2016
If ddtm_expr is an expression with special characters then timestamp_grain escapes
the special characters already escaped.

Solution discussed with sqlalchemy upstream:
https://bitbucket.org/zzzeek/sqlalchemy/issues/3737/literal_column-given-a-specific-sql

Fix apache#617
mistercrunch pushed a commit that referenced this pull request Sep 17, 2016
If ddtm_expr is an expression with special characters then timestamp_grain escapes
the special characters already escaped.

Solution discussed with sqlalchemy upstream:
https://bitbucket.org/zzzeek/sqlalchemy/issues/3737/literal_column-given-a-specific-sql

Fix #617
@xrmx
Copy link
Contributor

xrmx commented Sep 18, 2016

Superseded by #1103, sorry for the missing authorship 😓

@xrmx xrmx closed this Sep 18, 2016
@ntantri
Copy link
Author

ntantri commented Sep 18, 2016

Oh, so i wait no authorship? 😟

dennisobrien pushed a commit to dennisobrien/caravel that referenced this pull request Sep 19, 2016
If ddtm_expr is an expression with special characters then timestamp_grain escapes
the special characters already escaped.

Solution discussed with sqlalchemy upstream:
https://bitbucket.org/zzzeek/sqlalchemy/issues/3737/literal_column-given-a-specific-sql

Fix apache#617
xrmx added a commit to xrmx/superset that referenced this pull request Oct 5, 2016
mistercrunch pushed a commit that referenced this pull request Oct 5, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
1. move translation, connection, query to core (apache#729)
2. update encodable to remove formatter inter-dependency (apache#744)
3. move number-format and time-format to core (apache#730)
4. move superset-ui/dimension to core (apache#732)
5. move superset-ui/color to core (apache#755)
6. move superset-ui/style to core (apache#756)
7. move superset-ui/validator to core (apache#757)
8. move superset-ui/chart-composition to core (apache#759)
9. move superset-ui/chart to core (apache#760)
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
1. move translation, connection, query to core (apache#729)
2. update encodable to remove formatter inter-dependency (apache#744)
3. move number-format and time-format to core (apache#730)
4. move superset-ui/dimension to core (apache#732)
5. move superset-ui/color to core (apache#755)
6. move superset-ui/style to core (apache#756)
7. move superset-ui/validator to core (apache#757)
8. move superset-ui/chart-composition to core (apache#759)
9. move superset-ui/chart to core (apache#760)
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
1. move translation, connection, query to core (apache#729)
2. update encodable to remove formatter inter-dependency (apache#744)
3. move number-format and time-format to core (apache#730)
4. move superset-ui/dimension to core (apache#732)
5. move superset-ui/color to core (apache#755)
6. move superset-ui/style to core (apache#756)
7. move superset-ui/validator to core (apache#757)
8. move superset-ui/chart-composition to core (apache#759)
9. move superset-ui/chart to core (apache#760)
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
1. move translation, connection, query to core (apache#729)
2. update encodable to remove formatter inter-dependency (apache#744)
3. move number-format and time-format to core (apache#730)
4. move superset-ui/dimension to core (apache#732)
5. move superset-ui/color to core (apache#755)
6. move superset-ui/style to core (apache#756)
7. move superset-ui/validator to core (apache#757)
8. move superset-ui/chart-composition to core (apache#759)
9. move superset-ui/chart to core (apache#760)
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

Successfully merging this pull request may close these issues.

None yet

3 participants