dolthub / dolthub/dolt

Incorrect column name when using an empty alias

Open
#5,969 1 comment 0 reactions 2 assignees Claimed by @zachmu View on GitHub
bug sql
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

SQL:
```sql
select 42 as ' ';
select 42 as '';
```

MySQL XML output:
```xml


42


42

```

Dolt JSON output:
```json
{"rows": [{" ":42}]}
{"rows": [{"42 as":42}]}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.