question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EXASOL: Ambiguous `{{ ... }}` from Jinja vs LUA

See original GitHub issue

How to turn off Jinja templating? In LUA language its possible to use {{}}. this is parsed as Jinja

Originally from @sti0 in #684

I think if a user was using EXASOL + Jinja, that user would have to Jinja escape the section that includes {{ ... }}.

Otherwise do we have the option today of having no templater, maybe that is something we want to support ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sti0commented, Jan 17, 2021

As I said. This only works if I use sqlfluff / Jinja engine. If I simply like to parse a given script for validating and automatic deployment (which is my use case) than the script don’t need Jinja. The script maybe needs to be processed in plain definition in some case with no need to parse it in sqlfluff first.

1reaction
sti0commented, Jan 17, 2021

I think if a user was using EXASOL + Jinja, that user would have to Jinja escape the section that includes {{ ... }}.

But that will only work if using sqlfluff. If I parse a given LUA script it’s not parsable or ended up in a wrong result. I strongly recommend to turn off templating Exasol scripts. As it’s lua/ python/java there could be templating code inside.

Read more comments on GitHub >

github_iconTop Results From Across the Web

General Script Language | Exasol DB Documentation
Types and Values ... The following table describes the types that are distinguished in the script language. ... The type decimal is not...
Read more >
sqlfluff/CHANGELOG.md at main - GitHub
A modular SQL linter and auto-formatter with support for multiple dialects ... Indentation around jinja {% set %} statements should now be more...
Read more >
Lua, Python and all the others: When to use which ...
Lua differs a little from the others here as it is very natively integrated into Exasol and has the lowest overhead compared to...
Read more >
sqlfluff Changelog - pyup.io
A fix routine for L046 (whitespace in jinja tags), and the mechanisms for more source-only fixes in future. ... Exasol: Add lua adapter...
Read more >
Exasol CAMEO.Manual.1.1b3 - UserManual.wiki
Exasol CAMEO. ... CAMEO Conflict and Mediation Event Observations Event and Actor Codebook Event ... Ambiguous Actors and Idiosyncratic Codes for Turkey ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found