apache / apache/datafusion

Quote column only if has special characters in `TableReference `

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

Description

**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**

> probably worth a follow on pr to handle similar logic in `to_quoted_string()` for `TableReference`

_Originally posted by @Jefffrey in https://github.com/apache/arrow-datafusion/pull/5625#discussion_r1142659282_

**Describe the solution you'd like**

Follow this pr #5625

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #5625 and the referenced discussion, then inspect TableReference and its to_quoted_string() logic. The change is complete when columns in a TableReference are quoted only when they contain special characters, with behavior consistent with the follow-on request.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.