Skip to content

Remove schema auto correct service - #2578

Merged
Yicong-Huang merged 1 commit into
masterfrom
yicong-remove-schema-auto-correct-service
Apr 7, 2024
Merged

Yicong-Huang merged 1 commit into
masterfrom
yicong-remove-schema-auto-correct-service

Conversation

@Yicong-Huang

Copy link
Copy Markdown
Contributor

In many operator properties, their values are connected to the input schema. For example, Join operator needs to select one attribute from the left port schema and one attribute from right port schema. When an upstream schema is updated, the input schema will be updated (see PR Attribute change propagation #1663). Previously we allow this change to modify the operator properties accordingly. However, users may not expect this change to happen.

In this PR we remove this feature that modifies the property panel without consent from the user.

@Yicong-Huang
Yicong-Huang merged commit a53d5de into master Apr 7, 2024
@Yicong-Huang
Yicong-Huang deleted the yicong-remove-schema-auto-correct-service branch April 7, 2024 20:09
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Jul 31, 2026
…apache#7137)

### What changes were proposed in this PR?

Two GUI config flags were still defined and sent to the frontend but
read by nobody. `autoAttributeCorrectionEnabled` lost its consumer when
the schema auto-correct service was removed in apache#2578.
`expirationTimeInMinutes` lost its only reader when token refresh was
removed for security in apache#3765; the frontend now derives session expiry
from the JWT itself. This removes both across every layer they touched:
`gui.conf`, `GuiConfig` and its spec, the `/gui` config endpoint
(dropping the now-unused `AuthConfig` import), and the frontend
`GuiConfig` interface and mock. `AuthConfig.jwtExpirationMinutes` stays
untouched — `JwtAuth` still uses it to sign real tokens.

### Any related issues, documentation, discussions?

Closes apache#7135

### How was this PR tested?

Dead-code removal, grep-verified no remaining references to either flag.
Existing config specs (GuiConfigSpec, ConfigResourceSpec) continue to
cover the config surface.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.8)

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants