princejain756
princejain756
### Describe the issue The `indent` and `nindent` filters read `amount` as `Long` and narrow it with `intValue()` before the bounds checks in `AbstractIndent`, so a value past `Integer.MAX_VALUE` wraps...
### Describe the issue The `chunk` filter narrows `size` with `intValue()` before handing it to `Lists.partition`, with two visible problems: - `{{ list | chunk(0) }}` (or a negative size)...
A Postgres script argument declared with a narrow integer type silently wraps out-of-range JSON numbers via a Rust `as` cast, so Postgres accepts a different value than the one passed,...
For a grouped multi-column add, Snowflake and T-SQL output Hive-style `ADD COLUMNS`, which neither dialect's own grammar accepts: ```python >>> import sqlglot >>> sql = "ALTER TABLE Payments ADD COLUMNS...
test
test
Snowflake (and Postgres) drop interval amounts that are expressions rather than literals. `INTERVAL (-1) MONTH` parses to an `Interval` whose `this` is `Paren(Neg(1))` with an empty `.name`. `SINGLE_STRING_INTERVAL` dialects treat...
`SELECT 1 FROM a NATURAL JOIN b` fails to parse for ClickHouse with `Unexpected token` at `NATURAL`, even though ClickHouse supports `NATURAL [INNER | LEFT | RIGHT | FULL] [OUTER]...
## Bug `IF (@a = @b) OR (@c = @d) BEGIN ... END` fails to parse for T-SQL, and sqlglot's own T-SQL output for an `Or` IF condition (`IF (a)...
**Describe the bug** In T-SQL, `END` is reserved for closing `BEGIN ... END` blocks and `CASE` expressions, so it cannot be an implicit column alias. sqlglot's T-SQL parser still treats...
The Node.js binding for `listNamespaces` accepts `limit` as `Option` and converts it with an unchecked `as i32` cast before sending it in `ListNamespacesRequest`: https://github.com/lancedb/lancedb/blob/ca275b6d/nodejs/src/connection.rs#L676 A JavaScript number between 2^31 and...