apache / apache/datafusion

use a different prefix than `@` to represent variables

Open
#1,436 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

**Describe the bug**

in postgresql `@` is an operator for abs, so if we switch to postgresql dialect during parsing, current variable syntax will fail

**To Reproduce**

see #1099

**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #1099 and the PostgreSQL dialect parsing behavior described here. Determine the intended replacement for `@` and verify that variable syntax no longer conflicts with PostgreSQL's `@` operator during parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, rust, sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.