deduplicate variable-length types (VARCHAR)

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
sql
Domain
databases

Research direction

No repository files, tests, or entry points are named. The issue marks VARCHAR, STRING, and BINARY deduplication as complete and shows the intended UPSERT KEYS syntax, so first verify the implementation and its test coverage before taking further work.

Written by the indexing model from the issue text.

Description

open source SQL storage
  • Add deduplication for variable-length types (STRING, VARCHAR etc.)
    • As of today, Columns of VARCHAR, STRING and BINARY types cannot be used in the UPSERT KEYS list.
    • VARCHAR is due to be included in the UPSERT KEYS list to allow the following syntax:
CREATE TABLE TICKER_PRICE (
    ts TIMESTAMP,
    property VARCHAR,
    price DOUBLE
) TIMESTAMP(ts) PARTITION BY DAY WAL
DEDUP UPSERT KEYS(ts, property);
Dominant language
No language data
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from questdb/roadmap

All issues in questdb/roadmap

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.