Comments (2)
Sounds like your hunch is very likely. I worry that it might also be related to a change I made in the parsing of negative numbers too. Great to raise this one. I'll pick it up shortly.
I'll also try and post some of my debugging here so you can can get a better feel for how this part of sqlfluff functions. Hopefully it will be useful.
from sqlfluff.
Found the issue. The parser was favouring identifiers over functions. That meant it categorised ACOS
as an identifier and then got confused about the brackets. I'm pushing up a fix now.
from sqlfluff.
Related Issues (20)
- Databricks dialect doesn't support named parameters HOT 1
- Not Working under python 3.12.x HOT 1
- Databricks dialect doesn't support TRACK HISTORY on table creation
- PIVOT statements in Databricks should allow columns without AS statements HOT 3
- Sample dbt sql file that fails LT02 and LT08
- How to format multiple CTEs with the following CTE like `), my_other_cte AS (`
- Idea: Catch divide-by-zero hazards HOT 1
- RF02 triggered when passing a table as an argument to a function
- `aliasing.forbid` Traceback Error
- Optional New Table Aliasing Rule
- structure.column_order breaks subsequent UNION ALL. HOT 2
- Support project configuration
- TSQL: TRIGGER functions `UPDATE()` and `COLUMNS_UPDATED()` not yet supported
- pre-commit hook fails to run HOT 2
- Extend support L033 for more sqlfluff dialects HOT 4
- Trino - Found unparsable section GROUP BY GROUPING SETS HOT 1
- Sqlfluff fix for a files listed in sqlfluff lint --write-output
- LT04: Unexpected exception when unable to find a creation anchor
- Trino dialect parse error when using json_query "with array wrapper"
- [CP02] Applying rule CP02 to 'test.sql' threw an Exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlfluff.