typelevel / typelevel/skunk

Add nullity to codec metadata.

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

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.7k
Forks
175
Avg merge
5d 14h
Merged PRs (30d)
9

Description

If you lose the type argument for Codec (and superclasses) there's no way to tell whether it's nullable, which makes life hards Grackle, which constructs codecs at runtime and doesn't have this type information hanging around. So can we upgrade types: List[String] with types: List[(String, Nullity)]? Doesn't seem too bad, heh-heh. /cc @milessabin

Contributor guide

Open the contributing guide

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.

Research direction

No file, test, or entry point is named. Start by locating the Codec metadata represented by types: List[String] and trace how Codec and its superclasses expose it to runtime consumers such as Grackle. Done means the metadata carries each type together with its Nullity, including for codecs whose type argument is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres, scala
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.