You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "capistrant (via GitHub)" <gi...@apache.org> on 2026/04/14 17:28:36 UTC
[PR] feat: Reindexing supervisor web console builder workfow (druid)
capistrant opened a new pull request, #19312:
URL: https://github.com/apache/druid/pull/19312
<!-- Thanks for trying to help us make Apache Druid be the best it can be! Please fill out as much of the following information as is possible (where relevant, and remove it when irrelevant) to help make the intention and scope of this PR clear in order to ease review. -->
<!-- Please read the doc for contribution (https://github.com/apache/druid/blob/master/CONTRIBUTING.md) before making this PR. Also, once you open a PR, please _avoid using force pushes and rebasing_ since these make it difficult for reviewers to see what you've changed in response to their reviews. See [the 'If your pull request shows conflicts with master' section](https://github.com/apache/druid/blob/master/CONTRIBUTING.md#if-your-pull-request-shows-conflicts-with-master) for more details. -->
<!-- Replace XXXX with the id of the issue fixed in this PR. Remove this section if there is no corresponding issue. Don't reference the issue in the title of this pull-request. -->
<!-- If you are a committer, follow the PR action item checklist for committers:
https://github.com/apache/druid/blob/master/dev/committer-instructions.md#pr-and-issue-action-item-checklist-for-committers. -->
### Description
<!-- Describe the goal of this PR, what problem are you fixing. If there is a corresponding issue (referenced above), it's not necessary to repeat the description here, however, you may choose to keep one summary sentence. -->
<!-- Describe your patch: what did you change in code? How did you fix the problem? -->
<!-- If there are several relatively logically separate changes in this PR, create a mini-section for each of them. For example: -->
This PR enhances the compaction configuration building workflow in the web console by adding template type selection when using compaction supervisors. This allows folks to configure the new cascading reindexing supervisor template type which allows for rules based reindexing that can apply different rules for different intervals of time. Before this PR the only way to work with the new cascading reindexing spec format was via the API. The goal of this PR is to continue down the path of completing all of the pending bullets in https://github.com/apache/druid/issues/19092 as we try to make this new feature production worthy.
#### Images
<img width="533" height="675" alt="image" src="https://github.com/user-attachments/assets/674fefa8-8443-4a86-9672-12f79987dbb6" />
<img width="755" height="701" alt="image" src="https://github.com/user-attachments/assets/c6b594ee-ff47-471a-9cf4-deb13e314b00" />
<img width="734" height="480" alt="image" src="https://github.com/user-attachments/assets/0d1356e5-5183-4eb7-85f7-e386bcfc7372" />
<!--
In each section, please describe design decisions made, including:
- Choice of algorithms
- Behavioral aspects. What configuration values are acceptable? How are corner cases and error conditions handled, such as when there are insufficient resources?
- Class organization and design (how the logic is split between classes, inheritance, composition, design patterns)
- Method organization and design (how the logic is split between methods, parameters and return types)
- Naming (class, method, API, configuration, HTTP endpoint, names of emitted metrics)
-->
<!-- It's good to describe an alternative design (or mention an alternative name) for every design (or naming) decision point and compare the alternatives with the designs that you've implemented (or the names you've chosen) to highlight the advantages of the chosen designs and names. -->
<!-- If there was a discussion of the design of the feature implemented in this PR elsewhere (e. g. a "Proposal" issue, any other issue, or a thread in the development mailing list), link to that discussion from this PR description and explain what have changed in your final design compared to your original proposal or the consensus version in the end of the discussion. If something hasn't changed since the original discussion, you can omit a detailed discussion of those aspects of the design here, perhaps apart from brief mentioning for the sake of readability of this PR description. -->
<!-- Some of the aspects mentioned above may be omitted for simple and small changes. -->
#### Release note
<!-- Give your best effort to summarize your changes in a couple of sentences aimed toward Druid users.
If your change doesn't have end user impact, you can skip this section.
For tips about how to write a good release note, see [Release notes](https://github.com/apache/druid/blob/master/CONTRIBUTING.md#release-notes).
-->
Adds the ability to configure a compaction supervisor using the `reindexCascade` template type in the web console. This contributes to more production worthy UX for the new template type.
<hr>
##### Key changed/added classes in this PR
<hr>
<!-- Check the items by putting "x" in the brackets for the done things. Not all of these items apply to every PR. Remove the items which are not done or not relevant to the PR. None of the items from the checklist below are strictly necessary, but it would be very helpful if you at least self-review the PR. -->
This PR has:
- [ ] been self-reviewed.
- [ ] added documentation for new or modified features or behaviors.
- [ ] a release note entry in the PR description.
- [ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
- [ ] added or updated version, license, or notice information in [licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
- [ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
- [ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met.
- [ ] added integration tests.
- [ ] been tested in a test Druid cluster.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] feat: Reindexing supervisor web console builder workfow (druid)
Posted by "FrankChen021 (via GitHub)" <gi...@apache.org>.
FrankChen021 commented on code in PR #19312:
URL: https://github.com/apache/druid/pull/19312#discussion_r3234377868
##########
web-console/src/druid-models/compaction-config/reindex-cascade-config.tsx:
##########
@@ -0,0 +1,730 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Code } from '@blueprintjs/core';
+import { v4 as uuidv4 } from 'uuid';
+
+import type { Field } from '../../components';
+import { deepGet, oneOfKnown, pluralIfNeeded } from '../../utils';
+
+// --- Virtual column types ---
+
+export interface ExpressionVirtualColumn {
+ type: 'expression';
+ name: string;
+ expression: string;
+ outputType?: string;
+}
+
+export const EXPRESSION_VIRTUAL_COLUMN_FIELDS: Field<ExpressionVirtualColumn>[] = [
+ {
+ name: 'name',
+ type: 'string',
+ required: true,
+ info: <p>Output name of the virtual column.</p>,
+ },
+ {
+ name: 'expression',
+ type: 'string',
+ required: true,
+ info: <p>Druid expression that computes the virtual column value.</p>,
+ },
+ {
+ name: 'outputType',
+ type: 'string',
+ suggestions: ['STRING', 'LONG', 'FLOAT', 'DOUBLE', 'COMPLEX'],
+ info: <p>Output type of the expression result.</p>,
+ },
+];
+
+export function newExpressionVirtualColumn(): ExpressionVirtualColumn {
+ return {
+ type: 'expression',
+ name: '',
+ expression: '',
+ };
+}
+
+export function summarizeVirtualColumns(
+ virtualColumns: ExpressionVirtualColumn[] | undefined,
+): string {
+ if (!virtualColumns?.length) return '(none)';
+ return virtualColumns.map(vc => vc.name || '(unnamed)').join(', ');
+}
+
+// --- Reindexing rule types ---
+
+export interface ReindexingRule {
+ id: string;
+ olderThan: string;
+ description?: string;
+}
+
+export interface PartitioningRule extends ReindexingRule {
+ segmentGranularity: string;
+ partitionsSpec: any;
+ virtualColumns?: any;
+}
+
+export interface DeletionRule extends ReindexingRule {
+ deleteWhere: any;
+ virtualColumns?: any;
+}
+
+export interface IndexSpecRule extends ReindexingRule {
+ indexSpec: any;
+}
+
+export interface DataSchemaRule extends ReindexingRule {
+ dimensionsSpec?: any;
+ metricsSpec?: any[];
+ queryGranularity?: string;
+ rollup?: boolean;
+ projections?: any[];
+}
+
+// --- Rule provider types ---
+
+export interface InlineRuleProvider {
+ type: 'inline';
+ partitioningRules?: PartitioningRule[];
+ deletionRules?: DeletionRule[];
+ indexSpecRules?: IndexSpecRule[];
+ dataSchemaRules?: DataSchemaRule[];
+}
+
+export type RuleProvider = InlineRuleProvider;
+
+// --- Top-level reindex cascade config ---
+
+export interface ReindexCascadeConfig {
+ type: 'reindexCascade';
+ dataSource: string;
+ defaultSegmentGranularity: string;
+ defaultPartitionsSpec: any;
+ defaultPartitioningVirtualColumns?: any;
+ ruleProvider: RuleProvider;
+ taskPriority?: number;
+ inputSegmentSizeBytes?: number;
+ taskContext?: Record<string, any>;
+ skipOffsetFromLatest?: string;
+ skipOffsetFromNow?: string;
+ tuningConfig?: any;
+}
+
+// --- Factory functions for new rules ---
+
+export function newPartitioningRule(): PartitioningRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P30D',
+ segmentGranularity: 'DAY',
+ partitionsSpec: { type: 'dynamic', maxRowsPerSegment: 5000000 },
+ };
+}
+
+export function newDeletionRule(): DeletionRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P90D',
+ deleteWhere: { type: 'equals', column: '', matchValueType: 'STRING', matchValue: '' },
+ };
+}
+
+export function newIndexSpecRule(): IndexSpecRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P90D',
+ indexSpec: {},
+ };
+}
+
+export function newDataSchemaRule(): DataSchemaRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P30D',
+ };
+}
+
+// --- Summary helpers ---
+
+export function summarizeRuleProvider(ruleProvider: RuleProvider | undefined): string {
+ if (!ruleProvider) return '(none)';
+ const parts: string[] = [];
+ if (ruleProvider.partitioningRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.partitioningRules.length, 'partitioning rule'));
+ }
+ if (ruleProvider.deletionRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.deletionRules.length, 'deletion rule'));
+ }
+ if (ruleProvider.indexSpecRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.indexSpecRules.length, 'index spec rule'));
+ }
+ if (ruleProvider.dataSchemaRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.dataSchemaRules.length, 'data schema rule'));
+ }
+ return parts.length ? parts.join(', ') : '(no rules)';
+}
+
+export function summarizeRule(rule: ReindexingRule): string {
+ return rule.description || rule.id;
+}
+
+// --- Shared field constants ---
+
+const SEGMENT_GRANULARITY_SUGGESTIONS = [
+ 'MINUTE',
+ 'FIFTEEN_MINUTE',
+ 'HOUR',
+ 'DAY',
+ 'MONTH',
+ 'QUARTER',
+ 'YEAR',
+];
+
+const KNOWN_DEFAULT_PARTITION_TYPES = ['dynamic', 'range'];
+
+const PERIOD_SUGGESTIONS = ['P1D', 'P7D', 'P30D', 'P90D', 'P180D', 'P365D'];
+
+// --- Top-level fields for ReindexCascadeConfig ---
+
+export const REINDEX_CASCADE_CONFIG_FIELDS: Field<ReindexCascadeConfig>[] = [
+ {
+ name: 'defaultSegmentGranularity',
+ label: 'Default segment granularity',
+ type: 'string',
+ required: true,
+ suggestions: SEGMENT_GRANULARITY_SUGGESTIONS,
+ info: (
+ <p>
+ Segment granularity used for intervals where no partitioning rule matches. This is the
+ default time bucketing for segments.
+ </p>
+ ),
+ },
+ {
+ name: 'defaultPartitionsSpec.type',
+ label: 'Default partitioning type',
+ type: 'string',
+ suggestions: ['dynamic', 'range'],
+ info: (
+ <p>
+ Partitioning strategy used for intervals where no partitioning rule matches. Use{' '}
+ <Code>dynamic</Code> for best-effort rollup or <Code>range</Code> for range-based
+ partitioning.
+ </p>
+ ),
+ },
+ // defaultPartitionsSpec: dynamic
+ {
+ name: 'defaultPartitionsSpec.maxRowsPerSegment',
Review Comment:
[P2] Allow range defaults to keep maxRowsPerSegment
The only `defaultPartitionsSpec.maxRowsPerSegment` field is defined for dynamic partitioning, but the range target field still treats `maxRowsPerSegment` as a valid alternative. If an existing valid cascading spec uses `defaultPartitionsSpec: { type: 'range', maxRowsPerSegment: ... }`, `AutoForm.issueWithModel` marks the field as defined when it should not be and disables Submit. Mirror the existing compaction form by adding a range `maxRowsPerSegment` field defined when `targetRowsPerSegment` is absent.
##########
web-console/src/druid-models/compaction-config/reindex-cascade-config.tsx:
##########
@@ -0,0 +1,730 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Code } from '@blueprintjs/core';
+import { v4 as uuidv4 } from 'uuid';
+
+import type { Field } from '../../components';
+import { deepGet, oneOfKnown, pluralIfNeeded } from '../../utils';
+
+// --- Virtual column types ---
+
+export interface ExpressionVirtualColumn {
+ type: 'expression';
+ name: string;
+ expression: string;
+ outputType?: string;
+}
+
+export const EXPRESSION_VIRTUAL_COLUMN_FIELDS: Field<ExpressionVirtualColumn>[] = [
+ {
+ name: 'name',
+ type: 'string',
+ required: true,
+ info: <p>Output name of the virtual column.</p>,
+ },
+ {
+ name: 'expression',
+ type: 'string',
+ required: true,
+ info: <p>Druid expression that computes the virtual column value.</p>,
+ },
+ {
+ name: 'outputType',
+ type: 'string',
+ suggestions: ['STRING', 'LONG', 'FLOAT', 'DOUBLE', 'COMPLEX'],
+ info: <p>Output type of the expression result.</p>,
+ },
+];
+
+export function newExpressionVirtualColumn(): ExpressionVirtualColumn {
+ return {
+ type: 'expression',
+ name: '',
+ expression: '',
+ };
+}
+
+export function summarizeVirtualColumns(
+ virtualColumns: ExpressionVirtualColumn[] | undefined,
+): string {
+ if (!virtualColumns?.length) return '(none)';
+ return virtualColumns.map(vc => vc.name || '(unnamed)').join(', ');
+}
+
+// --- Reindexing rule types ---
+
+export interface ReindexingRule {
+ id: string;
+ olderThan: string;
+ description?: string;
+}
+
+export interface PartitioningRule extends ReindexingRule {
+ segmentGranularity: string;
+ partitionsSpec: any;
+ virtualColumns?: any;
+}
+
+export interface DeletionRule extends ReindexingRule {
+ deleteWhere: any;
+ virtualColumns?: any;
+}
+
+export interface IndexSpecRule extends ReindexingRule {
+ indexSpec: any;
+}
+
+export interface DataSchemaRule extends ReindexingRule {
+ dimensionsSpec?: any;
+ metricsSpec?: any[];
+ queryGranularity?: string;
+ rollup?: boolean;
+ projections?: any[];
+}
+
+// --- Rule provider types ---
+
+export interface InlineRuleProvider {
+ type: 'inline';
+ partitioningRules?: PartitioningRule[];
+ deletionRules?: DeletionRule[];
+ indexSpecRules?: IndexSpecRule[];
+ dataSchemaRules?: DataSchemaRule[];
+}
+
+export type RuleProvider = InlineRuleProvider;
+
+// --- Top-level reindex cascade config ---
+
+export interface ReindexCascadeConfig {
+ type: 'reindexCascade';
+ dataSource: string;
+ defaultSegmentGranularity: string;
+ defaultPartitionsSpec: any;
+ defaultPartitioningVirtualColumns?: any;
+ ruleProvider: RuleProvider;
+ taskPriority?: number;
+ inputSegmentSizeBytes?: number;
+ taskContext?: Record<string, any>;
+ skipOffsetFromLatest?: string;
+ skipOffsetFromNow?: string;
+ tuningConfig?: any;
+}
+
+// --- Factory functions for new rules ---
+
+export function newPartitioningRule(): PartitioningRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P30D',
+ segmentGranularity: 'DAY',
+ partitionsSpec: { type: 'dynamic', maxRowsPerSegment: 5000000 },
+ };
+}
+
+export function newDeletionRule(): DeletionRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P90D',
+ deleteWhere: { type: 'equals', column: '', matchValueType: 'STRING', matchValue: '' },
+ };
+}
+
+export function newIndexSpecRule(): IndexSpecRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P90D',
+ indexSpec: {},
+ };
+}
+
+export function newDataSchemaRule(): DataSchemaRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P30D',
+ };
+}
+
+// --- Summary helpers ---
+
+export function summarizeRuleProvider(ruleProvider: RuleProvider | undefined): string {
+ if (!ruleProvider) return '(none)';
+ const parts: string[] = [];
+ if (ruleProvider.partitioningRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.partitioningRules.length, 'partitioning rule'));
+ }
+ if (ruleProvider.deletionRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.deletionRules.length, 'deletion rule'));
+ }
+ if (ruleProvider.indexSpecRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.indexSpecRules.length, 'index spec rule'));
+ }
+ if (ruleProvider.dataSchemaRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.dataSchemaRules.length, 'data schema rule'));
+ }
+ return parts.length ? parts.join(', ') : '(no rules)';
+}
+
+export function summarizeRule(rule: ReindexingRule): string {
+ return rule.description || rule.id;
+}
+
+// --- Shared field constants ---
+
+const SEGMENT_GRANULARITY_SUGGESTIONS = [
+ 'MINUTE',
+ 'FIFTEEN_MINUTE',
+ 'HOUR',
+ 'DAY',
+ 'MONTH',
+ 'QUARTER',
+ 'YEAR',
+];
+
+const KNOWN_DEFAULT_PARTITION_TYPES = ['dynamic', 'range'];
+
+const PERIOD_SUGGESTIONS = ['P1D', 'P7D', 'P30D', 'P90D', 'P180D', 'P365D'];
+
+// --- Top-level fields for ReindexCascadeConfig ---
+
+export const REINDEX_CASCADE_CONFIG_FIELDS: Field<ReindexCascadeConfig>[] = [
+ {
+ name: 'defaultSegmentGranularity',
+ label: 'Default segment granularity',
+ type: 'string',
+ required: true,
+ suggestions: SEGMENT_GRANULARITY_SUGGESTIONS,
+ info: (
+ <p>
+ Segment granularity used for intervals where no partitioning rule matches. This is the
+ default time bucketing for segments.
+ </p>
+ ),
+ },
+ {
+ name: 'defaultPartitionsSpec.type',
+ label: 'Default partitioning type',
+ type: 'string',
+ suggestions: ['dynamic', 'range'],
+ info: (
+ <p>
+ Partitioning strategy used for intervals where no partitioning rule matches. Use{' '}
+ <Code>dynamic</Code> for best-effort rollup or <Code>range</Code> for range-based
+ partitioning.
+ </p>
+ ),
+ },
+ // defaultPartitionsSpec: dynamic
+ {
+ name: 'defaultPartitionsSpec.maxRowsPerSegment',
+ label: 'Default max rows per segment',
+ type: 'number',
+ defaultValue: 5000000,
+ defined: c =>
+ oneOfKnown(
+ deepGet(c, 'defaultPartitionsSpec.type'),
+ KNOWN_DEFAULT_PARTITION_TYPES,
+ 'dynamic',
+ ),
+ info: <>Determines how many rows are in each segment.</>,
+ },
+ {
+ name: 'defaultPartitionsSpec.maxTotalRows',
Review Comment:
[P2] Remove unsupported maxTotalRows field
Cascading reindexing is MSQ-only, and the server validation rejects dynamic partition specs that set `maxTotalRows`. This field exposes `defaultPartitionsSpec.maxTotalRows` in the cascading form, so users can configure a value that the POST endpoint rejects. Drop this field for `reindexCascade` dynamic defaults or prevent it from being written.
##########
web-console/src/druid-models/compaction-config/reindex-cascade-config.tsx:
##########
@@ -0,0 +1,730 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Code } from '@blueprintjs/core';
+import { v4 as uuidv4 } from 'uuid';
+
+import type { Field } from '../../components';
+import { deepGet, oneOfKnown, pluralIfNeeded } from '../../utils';
+
+// --- Virtual column types ---
+
+export interface ExpressionVirtualColumn {
+ type: 'expression';
+ name: string;
+ expression: string;
+ outputType?: string;
+}
+
+export const EXPRESSION_VIRTUAL_COLUMN_FIELDS: Field<ExpressionVirtualColumn>[] = [
+ {
+ name: 'name',
+ type: 'string',
+ required: true,
+ info: <p>Output name of the virtual column.</p>,
+ },
+ {
+ name: 'expression',
+ type: 'string',
+ required: true,
+ info: <p>Druid expression that computes the virtual column value.</p>,
+ },
+ {
+ name: 'outputType',
+ type: 'string',
+ suggestions: ['STRING', 'LONG', 'FLOAT', 'DOUBLE', 'COMPLEX'],
+ info: <p>Output type of the expression result.</p>,
+ },
+];
+
+export function newExpressionVirtualColumn(): ExpressionVirtualColumn {
+ return {
+ type: 'expression',
+ name: '',
+ expression: '',
+ };
+}
+
+export function summarizeVirtualColumns(
+ virtualColumns: ExpressionVirtualColumn[] | undefined,
+): string {
+ if (!virtualColumns?.length) return '(none)';
+ return virtualColumns.map(vc => vc.name || '(unnamed)').join(', ');
+}
+
+// --- Reindexing rule types ---
+
+export interface ReindexingRule {
+ id: string;
+ olderThan: string;
+ description?: string;
+}
+
+export interface PartitioningRule extends ReindexingRule {
+ segmentGranularity: string;
+ partitionsSpec: any;
+ virtualColumns?: any;
+}
+
+export interface DeletionRule extends ReindexingRule {
+ deleteWhere: any;
+ virtualColumns?: any;
+}
+
+export interface IndexSpecRule extends ReindexingRule {
+ indexSpec: any;
+}
+
+export interface DataSchemaRule extends ReindexingRule {
+ dimensionsSpec?: any;
+ metricsSpec?: any[];
+ queryGranularity?: string;
+ rollup?: boolean;
+ projections?: any[];
+}
+
+// --- Rule provider types ---
+
+export interface InlineRuleProvider {
+ type: 'inline';
+ partitioningRules?: PartitioningRule[];
+ deletionRules?: DeletionRule[];
+ indexSpecRules?: IndexSpecRule[];
+ dataSchemaRules?: DataSchemaRule[];
+}
+
+export type RuleProvider = InlineRuleProvider;
+
+// --- Top-level reindex cascade config ---
+
+export interface ReindexCascadeConfig {
+ type: 'reindexCascade';
+ dataSource: string;
+ defaultSegmentGranularity: string;
+ defaultPartitionsSpec: any;
+ defaultPartitioningVirtualColumns?: any;
+ ruleProvider: RuleProvider;
+ taskPriority?: number;
+ inputSegmentSizeBytes?: number;
+ taskContext?: Record<string, any>;
+ skipOffsetFromLatest?: string;
+ skipOffsetFromNow?: string;
+ tuningConfig?: any;
+}
+
+// --- Factory functions for new rules ---
+
+export function newPartitioningRule(): PartitioningRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P30D',
+ segmentGranularity: 'DAY',
+ partitionsSpec: { type: 'dynamic', maxRowsPerSegment: 5000000 },
+ };
+}
+
+export function newDeletionRule(): DeletionRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P90D',
+ deleteWhere: { type: 'equals', column: '', matchValueType: 'STRING', matchValue: '' },
+ };
+}
+
+export function newIndexSpecRule(): IndexSpecRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P90D',
+ indexSpec: {},
+ };
+}
+
+export function newDataSchemaRule(): DataSchemaRule {
+ return {
+ id: uuidv4(),
+ olderThan: 'P30D',
+ };
+}
+
+// --- Summary helpers ---
+
+export function summarizeRuleProvider(ruleProvider: RuleProvider | undefined): string {
+ if (!ruleProvider) return '(none)';
+ const parts: string[] = [];
+ if (ruleProvider.partitioningRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.partitioningRules.length, 'partitioning rule'));
+ }
+ if (ruleProvider.deletionRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.deletionRules.length, 'deletion rule'));
+ }
+ if (ruleProvider.indexSpecRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.indexSpecRules.length, 'index spec rule'));
+ }
+ if (ruleProvider.dataSchemaRules?.length) {
+ parts.push(pluralIfNeeded(ruleProvider.dataSchemaRules.length, 'data schema rule'));
+ }
+ return parts.length ? parts.join(', ') : '(no rules)';
+}
+
+export function summarizeRule(rule: ReindexingRule): string {
+ return rule.description || rule.id;
+}
+
+// --- Shared field constants ---
+
+const SEGMENT_GRANULARITY_SUGGESTIONS = [
+ 'MINUTE',
+ 'FIFTEEN_MINUTE',
+ 'HOUR',
+ 'DAY',
+ 'MONTH',
+ 'QUARTER',
+ 'YEAR',
+];
+
+const KNOWN_DEFAULT_PARTITION_TYPES = ['dynamic', 'range'];
+
+const PERIOD_SUGGESTIONS = ['P1D', 'P7D', 'P30D', 'P90D', 'P180D', 'P365D'];
+
+// --- Top-level fields for ReindexCascadeConfig ---
+
+export const REINDEX_CASCADE_CONFIG_FIELDS: Field<ReindexCascadeConfig>[] = [
+ {
+ name: 'defaultSegmentGranularity',
+ label: 'Default segment granularity',
+ type: 'string',
+ required: true,
+ suggestions: SEGMENT_GRANULARITY_SUGGESTIONS,
+ info: (
+ <p>
+ Segment granularity used for intervals where no partitioning rule matches. This is the
+ default time bucketing for segments.
+ </p>
+ ),
+ },
+ {
+ name: 'defaultPartitionsSpec.type',
+ label: 'Default partitioning type',
+ type: 'string',
+ suggestions: ['dynamic', 'range'],
+ info: (
+ <p>
+ Partitioning strategy used for intervals where no partitioning rule matches. Use{' '}
+ <Code>dynamic</Code> for best-effort rollup or <Code>range</Code> for range-based
+ partitioning.
+ </p>
+ ),
+ },
+ // defaultPartitionsSpec: dynamic
+ {
+ name: 'defaultPartitionsSpec.maxRowsPerSegment',
+ label: 'Default max rows per segment',
+ type: 'number',
+ defaultValue: 5000000,
+ defined: c =>
+ oneOfKnown(
+ deepGet(c, 'defaultPartitionsSpec.type'),
+ KNOWN_DEFAULT_PARTITION_TYPES,
+ 'dynamic',
+ ),
+ info: <>Determines how many rows are in each segment.</>,
+ },
+ {
+ name: 'defaultPartitionsSpec.maxTotalRows',
+ label: 'Default max total rows',
+ type: 'number',
+ defaultValue: 20000000,
+ defined: c =>
+ oneOfKnown(
+ deepGet(c, 'defaultPartitionsSpec.type'),
+ KNOWN_DEFAULT_PARTITION_TYPES,
+ 'dynamic',
+ ),
+ info: <>Total number of rows in segments waiting for being pushed.</>,
+ },
+ // defaultPartitionsSpec: range
+ {
+ name: 'defaultPartitionsSpec.partitionDimensions',
+ label: 'Default partition dimensions',
+ type: 'string-array',
+ defined: c =>
+ oneOfKnown(deepGet(c, 'defaultPartitionsSpec.type'), KNOWN_DEFAULT_PARTITION_TYPES, 'range'),
+ required: true,
+ info: <p>The dimensions to partition on.</p>,
+ },
+ {
+ name: 'defaultPartitionsSpec.targetRowsPerSegment',
+ label: 'Default target rows per segment',
+ type: 'number',
+ zeroMeansUndefined: true,
+ defined: c =>
+ oneOfKnown(deepGet(c, 'defaultPartitionsSpec.type'), KNOWN_DEFAULT_PARTITION_TYPES, 'range'),
+ required: c =>
+ !deepGet(c, 'defaultPartitionsSpec.targetRowsPerSegment') &&
+ !deepGet(c, 'defaultPartitionsSpec.maxRowsPerSegment'),
+ info: (
+ <p>
+ Target number of rows per segment. Either <Code>targetRowsPerSegment</Code> or{' '}
+ <Code>maxRowsPerSegment</Code> must be set.
+ </p>
+ ),
+ },
+ {
+ name: 'defaultPartitioningVirtualColumns',
+ label: 'Default partitioning virtual columns',
+ type: 'custom',
+ defined: c =>
+ oneOfKnown(deepGet(c, 'defaultPartitionsSpec.type'), KNOWN_DEFAULT_PARTITION_TYPES, 'range'),
+ customSummary: summarizeVirtualColumns,
+ info: (
+ <p>
+ Optional virtual columns used if your default partitions spec range partitioning definition
+ references virtual columns.
+ </p>
+ ),
+ // customDialog is set by the CompactionConfigDialog component
+ },
+ // ruleProvider (custom dialog)
+ {
+ name: 'ruleProvider',
+ label: 'Rule provider',
+ type: 'custom',
+ required: true,
+ customSummary: summarizeRuleProvider,
+ info: (
+ <p>
+ Configure the reindexing rules that control how data is compacted as it ages. Rules define
+ partitioning, deletion, index spec, and data schema changes.
+ </p>
+ ),
+ // customDialog is set by the CompactionConfigDialog component
+ },
+ // Skip offset - virtual selector with 3 options: disabled, fromLatest, fromNow
+ {
+ name: 'skipOffsetType',
+ label: 'Skip offset',
+ type: 'string',
+ suggestions: ['disabled', 'fromLatest', 'fromNow'],
+ defaultValue: (c: ReindexCascadeConfig) => {
+ if (c.skipOffsetFromNow) return 'fromNow';
+ if (c.skipOffsetFromLatest) return 'fromLatest';
+ return 'disabled';
+ },
+ adjustment: c => {
+ const skipType = (c as any).skipOffsetType;
+ const adjusted = { ...c };
+ if (skipType === 'fromNow') {
+ if (!adjusted.skipOffsetFromNow) {
+ adjusted.skipOffsetFromNow = adjusted.skipOffsetFromLatest || 'P1D';
+ }
+ delete adjusted.skipOffsetFromLatest;
+ } else if (skipType === 'fromLatest') {
+ if (!adjusted.skipOffsetFromLatest) {
+ adjusted.skipOffsetFromLatest = adjusted.skipOffsetFromNow || 'P1D';
+ }
+ delete adjusted.skipOffsetFromNow;
+ } else {
+ // disabled
+ delete adjusted.skipOffsetFromLatest;
+ delete adjusted.skipOffsetFromNow;
+ }
+ delete (adjusted as any).skipOffsetType;
+ return adjusted;
+ },
+ info: (
+ <p>
+ Choose whether to skip recent data and how the offset is calculated. <Code>disabled</Code>{' '}
+ means no skip offset. <Code>fromLatest</Code> skips relative to the end of the latest
+ segment. <Code>fromNow</Code> skips relative to the current time.
+ </p>
+ ),
+ },
+ {
+ name: 'skipOffsetFromLatest',
+ label: 'Skip offset value',
+ type: 'string',
+ suggestions: ['PT0H', 'PT1H', 'P1D', 'P3D'],
+ defined: c => Boolean(c.skipOffsetFromLatest),
+ info: (
+ <p>ISO 8601 period. Skips data newer than this offset from the end of the latest segment.</p>
+ ),
+ },
+ {
+ name: 'skipOffsetFromNow',
+ label: 'Skip offset value',
+ type: 'string',
+ suggestions: ['PT0H', 'PT1H', 'P1D', 'P3D'],
+ defined: c => Boolean(c.skipOffsetFromNow),
+ info: <p>ISO 8601 period. Skips data newer than this offset from the current time.</p>,
+ },
+ {
+ name: 'taskPriority',
+ type: 'number',
+ defaultValue: 25,
+ min: 0,
+ hideInMore: true,
+ info: <p>Priority of compaction tasks.</p>,
+ },
+ {
+ name: 'inputSegmentSizeBytes',
+ type: 'size-bytes',
+ hideInMore: true,
+ info: <p>Maximum total input segment size in bytes per compaction task.</p>,
+ },
+ // Promoted task context fields
+ {
+ name: 'taskContext.useConcurrentLocks',
+ label: 'Task context: concurrent locks',
+ type: 'boolean',
+ defaultValue: false,
+ info: (
+ <p>
+ Enable concurrent append and replace for the datasource. Recommended if you are appending
+ data to a datasource while compaction is running.
+ </p>
+ ),
+ },
+ {
+ name: 'taskContext.maxNumTasks',
+ label: 'Task context: max num tasks',
+ type: 'number',
+ min: 2,
+ placeholder: '(cluster default)',
+ zeroMeansUndefined: true,
+ info: (
+ <p>
+ Maximum number of tasks (including the controller) for MSQ compaction. Must be at least 2
+ (one controller, one worker).
+ </p>
+ ),
+ },
+ {
+ name: 'taskContext.maxRowsInMemory',
+ label: 'Task context: max rows in memory',
+ type: 'number',
+ zeroMeansUndefined: true,
+ placeholder: '(default)',
+ hideInMore: true,
+ info: (
+ <p>
+ Maximum number of rows to hold in memory before persisting. Lower values reduce memory usage
+ but may increase disk I/O.
+ </p>
+ ),
+ },
+ {
+ name: 'taskContext.maxFrameSize',
+ label: 'Task context: max frame size',
+ type: 'number',
+ zeroMeansUndefined: true,
+ placeholder: '(default)',
+ hideInMore: true,
+ info: (
+ <p>
+ Maximum frame size in bytes for MSQ tasks. Increase if tasks fail due to frame size limits.
+ </p>
+ ),
+ },
+ {
+ name: 'taskContext',
+ label: 'Task context: additional settings',
+ type: 'json',
+ hideInMore: true,
+ info: (
+ <p>
+ Full task context map. Common settings are available as dedicated fields above. Use this to
+ set additional MSQ context parameters.
+ </p>
+ ),
+ },
+ {
+ name: 'tuningConfig',
+ type: 'json',
+ hideInMore: true,
+ info: (
+ <p>
+ Tuning config for compaction tasks. Note: you cannot set <Code>partitionsSpec</Code> inside{' '}
+ <Code>tuningConfig</Code> for cascading reindexing — partitioning is controlled by rules and
+ defaults.
+ </p>
+ ),
+ },
+];
+
+// --- Field arrays for individual rule types ---
+
+export const PARTITIONING_RULE_FIELDS: Field<PartitioningRule>[] = [
+ {
+ name: 'id',
+ type: 'string',
+ required: true,
+ info: <p>Unique identifier for this rule.</p>,
+ },
+ {
+ name: 'olderThan',
+ type: 'string',
+ required: true,
+ suggestions: PERIOD_SUGGESTIONS,
+ info: (
+ <p>
+ ISO 8601 period defining the age threshold. The rule applies to data older than the current
+ time minus this period.
+ </p>
+ ),
+ },
+ {
+ name: 'description',
+ type: 'string',
+ info: <p>Human-readable description of this rule.</p>,
+ },
+ {
+ name: 'segmentGranularity',
+ type: 'string',
+ required: true,
+ suggestions: SEGMENT_GRANULARITY_SUGGESTIONS,
+ info: <p>Time granularity for segment buckets.</p>,
+ },
+ {
+ name: 'partitionsSpec.type',
+ label: 'Partitioning type',
+ type: 'string',
+ suggestions: ['dynamic', 'range'],
+ info: (
+ <p>
+ Use <Code>dynamic</Code> for best-effort rollup or <Code>range</Code> for range-based
+ partitioning.
+ </p>
+ ),
+ },
+ {
+ name: 'partitionsSpec.maxRowsPerSegment',
+ label: 'Max rows per segment',
+ type: 'number',
+ defaultValue: 5000000,
+ defined: r => oneOfKnown(deepGet(r, 'partitionsSpec.type'), ['dynamic', 'range'], 'dynamic'),
+ info: <>Determines how many rows are in each segment.</>,
+ },
+ {
+ name: 'partitionsSpec.partitionDimensions',
+ label: 'Partition dimensions',
+ type: 'string-array',
+ defined: r => deepGet(r, 'partitionsSpec.type') === 'range',
+ required: true,
+ info: <p>The dimensions to partition on.</p>,
+ },
+ {
+ name: 'partitionsSpec.targetRowsPerSegment',
+ label: 'Target rows per segment',
+ type: 'number',
+ zeroMeansUndefined: true,
+ defined: r => deepGet(r, 'partitionsSpec.type') === 'range',
+ info: <p>Target number of rows per segment for range partitioning.</p>,
+ },
+ {
+ name: 'virtualColumns',
+ type: 'custom',
+ defined: r => deepGet(r, 'partitionsSpec.type') === 'range',
+ customSummary: summarizeVirtualColumns,
+ info: <p>Virtual columns for partitioning by nested or derived fields.</p>,
+ // customDialog is set by the RuleProviderEditor component
+ },
+];
+
+export const DELETION_RULE_FIELDS: Field<DeletionRule>[] = [
+ {
+ name: 'id',
+ type: 'string',
+ required: true,
+ info: <p>Unique identifier for this rule.</p>,
+ },
+ {
+ name: 'olderThan',
+ type: 'string',
+ required: true,
+ suggestions: PERIOD_SUGGESTIONS,
+ info: (
+ <p>
+ ISO 8601 period defining the age threshold. The rule applies to data older than the current
+ time minus this period.
+ </p>
+ ),
+ },
+ {
+ name: 'description',
+ type: 'string',
+ info: <p>Human-readable description of this rule.</p>,
+ },
+ {
+ name: 'deleteWhere',
+ type: 'json',
+ required: true,
+ info: (
+ <p>
+ A Druid filter matching rows to <strong>delete</strong>. The compacted data retains rows
+ that do not match this filter. Multiple deletion rules combine as{' '}
+ <Code>NOT(A OR B OR C)</Code>.
+ </p>
+ ),
+ },
+ {
+ name: 'virtualColumns',
+ type: 'json',
+ hideInMore: true,
+ info: <p>Virtual columns for filtering on nested or derived fields.</p>,
+ },
+];
+
+export const INDEX_SPEC_RULE_FIELDS: Field<IndexSpecRule>[] = [
+ {
+ name: 'id',
+ type: 'string',
+ required: true,
+ info: <p>Unique identifier for this rule.</p>,
+ },
+ {
+ name: 'olderThan',
+ type: 'string',
+ required: true,
+ suggestions: PERIOD_SUGGESTIONS,
+ info: (
+ <p>
+ ISO 8601 period defining the age threshold. The rule applies to data older than the current
+ time minus this period.
+ </p>
+ ),
+ },
+ {
+ name: 'description',
+ type: 'string',
+ info: <p>Human-readable description of this rule.</p>,
+ },
+ {
+ name: 'indexSpec',
+ type: 'json',
+ required: true,
+ info: (
+ <p>
+ An IndexSpec object defining bitmap type, metric compression, and other encoding settings
+ for compacted segments.
+ </p>
+ ),
+ },
+];
+
+export const DATA_SCHEMA_RULE_FIELDS: Field<DataSchemaRule>[] = [
+ {
+ name: 'id',
+ type: 'string',
+ required: true,
+ info: <p>Unique identifier for this rule.</p>,
+ },
+ {
+ name: 'olderThan',
+ type: 'string',
+ required: true,
+ suggestions: PERIOD_SUGGESTIONS,
+ info: (
+ <p>
+ ISO 8601 period defining the age threshold. The rule applies to data older than the current
+ time minus this period.
+ </p>
+ ),
+ },
+ {
+ name: 'description',
+ type: 'string',
+ info: <p>Human-readable description of this rule.</p>,
+ },
+ {
+ name: 'queryGranularity',
+ type: 'string',
+ placeholder: '(unset)',
+ suggestions: SEGMENT_GRANULARITY_SUGGESTIONS,
+ info: (
+ <p>
+ Query granularity for the compacted segments. Leave unset to preserve existing granularity.
+ </p>
+ ),
+ },
+ {
+ name: 'rollup',
+ type: 'boolean',
+ info: (
+ <p>
+ Whether to enable rollup. Set to <Code>true</Code> only when <Code>metricsSpec</Code> is
+ defined.
+ </p>
+ ),
+ },
+ {
+ name: 'metricsSpec',
+ type: 'json',
+ info: (
+ <>
+ <p>Array of aggregator factories for rollup metrics. Example:</p>
+ <pre>
+ {`[
+ {
+ "type": "longSum",
+ "name": "added",
+ "fieldName": "added"
+ },
+ {
+ "type": "longSum",
+ "name": "deleted",
+ "fieldName": "deleted"
+ }
+]`}
+ </pre>
+ </>
+ ),
+ },
+ {
+ name: 'dimensionsSpec',
+ type: 'json',
+ info: (
+ <>
+ <p>Dimensions config for the compacted segments. Example:</p>
+ <pre>{`{
+ "dimensions": [
+ "page",
+ { "type": "string", "name": "channel" }
+ ]
+}`}</pre>
+ </>
+ ),
+ },
+ {
+ name: 'projections',
+ type: 'json',
+ hideInMore: true,
+ info: <p>List of aggregate projections.</p>,
+ },
+];
+
+// --- Default config ---
+
+export function newReindexCascadeConfig(dataSource: string): ReindexCascadeConfig {
+ return {
+ type: 'reindexCascade',
+ dataSource,
+ defaultSegmentGranularity: 'DAY',
+ defaultPartitionsSpec: { type: 'dynamic', maxRowsPerSegment: 5000000 },
+ ruleProvider: { type: 'inline' },
Review Comment:
[P2] Require at least one rule before submitting
Selecting the cascading template creates `ruleProvider: { type: 'inline' }`, and the top-level form treats that as satisfying the required `ruleProvider` field even though all rule lists are empty. The server-side cascading template later throws when no partitioning or non-partitioning rule exists, so the console can save a supervisor that cannot generate jobs. Make the custom field invalid until at least one rule list has an entry, or seed a real rule before enabling Submit.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] feat: Reindexing supervisor web console builder workfow (druid)
Posted by "jtuglu1 (via GitHub)" <gi...@apache.org>.
jtuglu1 commented on PR #19312:
URL: https://github.com/apache/druid/pull/19312#issuecomment-4246538489
unrelated: have you considered using an LLM to port the web console to Vite? This should significantly speed up build times
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] feat: Reindexing supervisor web console builder workfow (druid)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #19312:
URL: https://github.com/apache/druid/pull/19312#issuecomment-4953463758
This pull request has been marked as stale due to 60 days of inactivity.
It will be closed in 4 weeks if no further activity occurs. If you think
that's incorrect or this pull request should instead be reviewed, please simply
write any comment. Even if closed, you can still revive the PR at any time or
discuss it on the dev@druid.apache.org list.
Thank you for your contributions.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] feat: Reindexing supervisor web console builder workfow (druid)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #19312:
URL: https://github.com/apache/druid/pull/19312#issuecomment-5247564714
This pull request/issue has been closed due to lack of activity. If you think that
is incorrect, or the pull request requires review, you can revive the PR at any time.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] feat: Reindexing supervisor web console builder workfow (druid)
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #19312: feat: Reindexing supervisor web console builder workfow
URL: https://github.com/apache/druid/pull/19312
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] feat: Reindexing supervisor web console builder workfow (druid)
Posted by "capistrant (via GitHub)" <gi...@apache.org>.
capistrant commented on PR #19312:
URL: https://github.com/apache/druid/pull/19312#issuecomment-4247461379
> unrelated: have you considered using an LLM to port the web console build process to Vite? This should significantly speed up build times
Had not considered it cuz I had never heard of Vite until you mentioned it 😁. I can push up some draft proposal for it but I'd also like to hear @vogievetsky thoughts on the topic
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org