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.

CQL formatter appending error String in code.

See original GitHub issue

When creating a parameter with syntax error, the CQL parser is appending error String inside the CQL code.

ex: parameter "test param" Interval<DateTime

returns

parameter "test param" [java.lang.Exception: [1:40]: missing '>' at '<EOF>']

 Interval<DateTime.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
c-schulercommented, Aug 24, 2017

Is it possible to have a flag that we can set on the formatter?

Yeah, I can do that. The output in that case (when syntax errors are encountered) would be the original input without formatting.

@brynrhodes: thoughts?

0reactions
brynrhodescommented, Aug 28, 2017

Addressed in v.1.2.13-SNAPSHOT

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# error : Input string was not in a correct format - Stack Overflow
The problem stated by your error message is probably on one of the lines that try to convert the value in the textboxes...
Read more >
Manage SQL code formatting using SQL formatter options
So, let's first start with SQL formatter options to format code and then ApexSQL Refactor add-in to do the same thing and more....
Read more >
Db2 11 - SQL error codes - IBM
SQL error codes · -007. STATEMENT CONTAINS THE ILLEGAL CHARACTER invalid-character · -010. THE STRING CONSTANT BEGINNING string IS NOT TERMINATED · -011....
Read more >
12.8 String Functions and Operators - MySQL :: Developer Zone
RPAD(), Append string the specified number of times ... and returns a string consisting of the characters given by the code values of...
Read more >
sql-formatter - npm
SQL Formatter is a JavaScript library for pretty-printing SQL queries. It started as a port of a PHP Library, but has since considerably...
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