alibaba / alibaba/DataX

如何向datax传递空参数?

Open
#407 2 comments 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

json配置文件片段如下:"reader": {
"name": "mysqlreader",
"parameter": {
"splitPk": "$splitPk",
"column": ["perio_id","release_cycle","issue_scope","total_articles","circulation","avg_article_down"],
datax文档里说:如果splitPk不填写,包括不提供splitPk或者splitPk值为空,DataX视作使用单通道同步该表数据。
如果我想传空参数,提交命令应该怎么写呢?我现在写成 -p "-DsplitPk=“、-p "-DsplitPk=''"都是不对的。

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the DataX documentation for mysqlreader's splitPk option and command-line parameter handling, using the shown JSON and both -p forms as examples. Done means documenting the supported syntax for an omitted or empty splitPk value and making the single-channel behavior unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.