Repository navigation
Conversation
|
Initial self-review summary for candidate
|
|
major Only the extractor attributes are normalized (L173-176); checkAndEnrichSinkAuthentication still receives the raw connector map. With Fix: Normalize before the check, e.g. setConnectorAttributes(normalizeSinkParameters(new PipeParameters(createPipeRequest.getConnectorAttributes())).getAttribute()) next to the extractor normalization at L173. |
|
minor checkSource/checkSink are computed with hasAnyAttributes on the raw request maps; checkAndUpdateRequestBeforeAlterPipe (L138) normalizes them only afterwards. So Fix: Normalize the request's extractor/connector attributes (normalizeSourceParameters / normalizeSinkParameters) before computing checkSource and checkSink, mirroring the fix in CreatePipeProcedureV2. |
|
Thanks for catching this. |
|
Thanks for catching this. |
|
Review round for PR head
|
|
Review round for PR head
|
|
CI failure follow-up for PR head
|
|
Review round update for PR #19523:
|
Summary
Fix Pipe attribute normalization and task-startup handling, secure normalized Pipe credentials, allow delete-progress queries through REST v1, and append successful server messages to CLI output.
Changes
nowto trimmed, case-insensitive source time-key variants.SHOW DELETE TIMESERIES PROGRESSthrough REST v1 query handling.Examples
source.path='root.sg.**'andSource.Path ='root.other.**'silently select a value based on map iteration. After: the ambiguous built-in configuration is rejected as a duplicate key.SOURCE.START-TIMEwith value2024-01-01T00:00:00Zcan be lowercased and fail timestamp parsing, and a trimmedSOURCE.START-TIME=nowis not substituted. After: case-sensitive timestamp values are preserved andnowis applied to the trimmed key.WITH SINK (' Connector.Password ' = '<password>')can skip password hashing because the raw key is not recognized. After: the sink key is normalized and its password is hashed before Pipe metadata is persisted.ALTER PIPE p SET SOURCE (' SOURCE.PASSWORD ' = '<password>')or the equivalent sink update can skip authentication when the key contains case or whitespace variants. After: both source and sink credential updates are detected and authenticated before metadata is changed.SHOW DELETE TIMESERIES PROGRESSis classified by REST v1 as an execution statement. After: REST v1 routes it through query result handling.DROP TABLE test_tablewith a server status message, before the server message and generic success text print on separate lines. After they print on one line, for example:The statement is executed successfully.Table deletion task 123 has been submitted for asynchronous execution.Validation
test-compile -DskipTestspassed before the authentication follow-up.47153148235completed successfully with all four jobs passing.