alibaba / alibaba/DataX

postgresql数据库随机抽样支持

Open
#1,934 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

postgresql9.5版本开始支持tablesample函数随机抽样,对于字段来说单纯的最大最小值区间split还是太局限了,可以支持一下不。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating DataX's PostgreSQL reader and the existing field-splitting logic based on maximum and minimum values. Check how reader options and version compatibility are handled, then review or add tests covering PostgreSQL 9.5+ TABLESAMPLE behavior. Done means random sampling is supported without breaking the existing split strategy.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, postgresql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.