SEZ9 commented on PR #12810:
URL: https://github.com/apache/seatunnel/pull/12810#issuecomment-7115967419
Thanks for the update. Here is where the earlier points stand after the
latest re-review.
**Appear addressed, per the re-review:**
- **Quoted `-i` values losing their string hint:** both callers now recover
the raw quoted `-i` string intent, so an explicitly quoted argument should stay
a string rather than become a List.
- **Quoted defaults keeping literal quotes:** standalone quoted defaults are
now unwrapped, and boundary quotes in mixed expressions stay literal content.
- **System sink placeholders hitting the consistency check:** reserved table
placeholders now pass through before the default-consistency bookkeeping.
- **`checkNotResolvedDefaultValue` swallowing exceptions:** only
`NotResolved` is caught now.
**Still open or unconfirmed:**
1. The re-review says two earlier parsing/error-boundary findings remain but
does not name them. Could you confirm the status of these two?
- **Tightened `isStructured`:** is a HOCON object without a top-level
`:`/`=`, e.g. `-i schema='{fields{id=int,name=string}}'`, still demoted to a
plain String instead of being injected as a Map?
- **Raw values in validation errors:** do the placeholder validation
messages still echo raw default values, raw `-i` values and surrounding config
text? The re-review notes that parse errors before decrypt are logged with the
message and stack/cause, so any raw value in those messages would reach the CLI
and job log before desensitization.
2. **Error wording:** does the shared message still say "Structured default
value" on the plain-string branch?
3. **Javadoc:** does the `processPlaceholders` Javadoc still declare
`IllegalArgumentException` while the method throws `ConfigException.BadValue`,
and do `hasOnlyOnePlaceholder`, `checkNotResolvedDefaultValue` and
`parseStructured` have Javadoc now?
4. **EN docs:** does the new EN user-doc bullet still link to the Chinese
connector/transform docs, and is the broken markdown in the preceding bullet
(unbalanced `***`, missing space) fixed?
If any of these are already fixed, a short pointer to the change is enough.
<!-- streview-comment:2561 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]