rubenv / rubenv/sql-migrate

Support for cratedb ???

Open
#200 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3.4k
Forks
292
PR merge metrics
No merged PRs in 30d

Description

  • Kudos for this awesome package, can we have support for cratedb (https://crate.io/)

  • I have tested if it works, but it fails while scanning the table because of time conversion.

  • Here is the error which I have gotten.

Error: sql: Scan error on column index 1, name "applied_at": unsupported Scan, storing driver.Value type json.Number into type *time.Time

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.

Research direction

Start by reproducing the CrateDB table scan that fails with json.Number being stored in *time.Time, then trace the package's scan and time-conversion entry point. Done means CrateDB support is added without the reported conversion error and the existing migration behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.