khangtruong113 opened a new issue, #71459: URL: https://github.com/apache/doris/issues/71459
### Background ETL models can ingest dates and list values that are unknown at deployment time. Doris supports creating destination partitions as new values arrive. ### Current behavior The dbt adapter renders PARTITION BY from manual settings. A date_trunc expression can already produce automatic range partitions on Doris, but this requires a raw SQL expression and the macro has no explicit AUTO LIST configuration. ### Expected behavior A model can declare a time column and granularity or a list of partition columns. Appending a batch with a new value creates the corresponding partition, and a repeated value reuses it. ### Proposed design Introduce an auto_partition model mapping with type: range or type: list. Validate the supplied fields and reject combinations with manual partition configuration. Apply the partition scheme to the destination and allow incremental staging to carry its batch independently. ### Impact The configuration is opt-in. Existing manual range and list declarations remain supported. Doris enforces its partition column restrictions. Related to #65993. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
