Skip to content

Core: Isolate MetricsPersistence from BasePersistence SPI - #4397

Merged
dimas-b merged 9 commits into
apache:mainfrom
huaxingao:refactor
Jun 8, 2026
Merged

dimas-b merged 9 commits into
apache:mainfrom
huaxingao:refactor

Conversation

@huaxingao

Copy link
Copy Markdown
Contributor

Refactor the persistence SPIs so BasePersistence, PolicyMappingPersistence, MetricsPersistence, and IntegrationPersistence are disjoint top-level interfaces instead of BasePersistence being an aggregator. Concrete backends (JDBC, NoSQL) multi-inherit the ones they support, and TransactionalPersistence aggregates them where atomic semantics are needed.

Changes

  • BasePersistence no longer extends PolicyMappingPersistence or MetricsPersistence.
  • TransactionalPersistence now extends all four SPIs directly.
  • JdbcBasePersistenceImpl and NonFunctionalBasePersistence implement all four SPIs.
  • MetaStoreManagerFactory: rename getOrCreateSession → getOrCreateBasePersistence; add getOrCreate{PolicyMapping,Metrics,Integration}Persistence.
  • PolarisCallContext: rename getMetaStore → getBasePersistence; add get{PolicyMapping,Metrics,Integration}Persistence.
  • Replace ((IntegrationPersistence) ms) blind casts in AtomicOperationMetaStoreManager with callCtx.getIntegrationPersistence().

Checklist

  • 🛡️ Don't disclose security issues! (contact [email protected])
  • 🔗 Clearly explained why the changes are needed, or linked related issues: Fixes #
  • 🧪 Added/updated tests with good coverage, or manually tested (and explained how)
  • 💡 Added comments for complex logic
  • 🧾 Updated CHANGELOG.md (if needed)
  • 📚 Updated documentation in site/content/in-dev/unreleased (if needed)

@huaxingao

Copy link
Copy Markdown
Contributor Author

@dennishuo @dimas-b @flyingImer @singhpk234
Could you please take a look at this refactor PR? Thanks a lot!


@Override
public BasePersistence getOrCreateSession(RealmContext realmContext) {
public BasePersistence getOrCreateBasePersistence(RealmContext realmContext) {

@dimas-b dimas-b May 12, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this rename causes insignificant changes in the context of this PR, which complicates review. It would be nicer to do the renaming before or after this PR 😅

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to split if you'd prefer. I kept it in this PR because Dennis asked for the rename in his mailing-list reply.

@dimas-b dimas-b May 13, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you do not mind, let's do the rename separately and before this PR - it is a non-controversial rename - easy to review and approve :) then this (more difficult) PR will have a smaller diff (after rebasing).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However... I personally already reviewed those rename changes 😅 so from my POV they are ok to keep in this PR.

* implements {@link PolicyMappingPersistence}.
*/
default PolicyMappingPersistence getOrCreatePolicyMappingPersistence(RealmContext realmContext) {
return cast(getOrCreateBasePersistence(realmContext), PolicyMappingPersistence.class);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH, I do not really understand the purpose behind this design. We're still forcing implementation classes to support all the same interfaces that used to be extended by BasePersistence. IMHO, this make the overall design more awkward than before.

I believe the idea is/was to inject PolicyMappingPersistence into callers independently of BasePersistence. If they happen to be implemented by the same class, it should just work. However, we should not assume that (and use casts).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You comment makes sense. I have updated the PR accordingly. PTAL

@dimas-b

dimas-b commented May 12, 2026

Copy link
Copy Markdown
Contributor

Thanks for working on this, @huaxingao ! Still, I believe this PR needs more work. It is moving in the right direction, though, from my POV 👍

PolicyMappingPersistence getOrCreatePolicyMappingPersistence(RealmContext realmContext);

/** Returns the per-realm {@link MetricsPersistence}. */
MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MetricsPersistence is very different from "meta store" persistence... both functionally and in java SPI parameters. I believe it makes sense to use a separate factory for it.

That said, current changes are net positive, IMHO, and are moving in the right direction.

I think we can deal with the MetricsPersistence factory in a separate PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MetricsPersistence is very different from "meta store" persistence.

Hi @dimas-b , would you mind elaborate it so that I can understand better?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Metrics are submitted out-of-band compared to Catalog Entity changes. There is no implicit requirement for Metrics to be submitted strictly for existing entities (clients cannot know what happens to the catalog while the process data).
  • Metrics are effectively a time series, while "meta store" represents a "state" at a particular point in time.
  • Metrics retention does not have to be bound to the retention of the related catalog entities.
  • Metrics are likely queried outside the context of mainstream catalog operations (like loading a table).

With that in mind, I believe, it is quite natural that Metrics may have a different persistence impl. than the "meta store", hence my point about using separate factories for them.


@Override
public BasePersistence getOrCreateSession(RealmContext realmContext) {
public BasePersistence getOrCreateBasePersistence(RealmContext realmContext) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However... I personally already reviewed those rename changes 😅 so from my POV they are ok to keep in this PR.


@Override
public MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext) {
return newNoSqlMetaStore(realmContext);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, this should return a no-op new MetricsPersistence() {} for the sake of clarity - NoSQL persistence does not implement it anyway.

@dimas-b dimas-b left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for working on this, @huaxingao !

Sorry for pivoting, but I think we're making positive progress overall 😅

Let's concentrate on isolating MetricsPersistence and IdempotencyPersistence from BasePersistence for now. Old use cases may be too cumbersome and can remain "as is" as far as #4269 is concerned.

abstract class NonFunctionalBasePersistence
implements BasePersistence,
IntegrationPersistence,
MetricsPersistence,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove MetricsPersistence from this list - it's not really implemented.

schemaVersion);
}

private JdbcBasePersistenceImpl getOrCreateJdbcPersistence(RealmContext realmContext) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no "get" logic in this method, it always "creates". Please consider renaming to createJdbcPersistence() for clarity.

ms.deleteAllEntityPolicyMappingRecords(callCtx, entity, mappingOnTarget, mappingOnPolicy);
: policyMappingPersistence.loadAllPoliciesOnTarget(
callCtx, entity.getCatalogId(), entity.getId());
policyMappingPersistence.deleteAllEntityPolicyMappingRecords(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this goes against the grain of AtomicOperationMetaStoreManager javadoc, which says the class operates on one BasePersistence instance (logically).

IMHO, even the old code is not "atomic" with respect to ms.deleteAllEntityGrantRecords (line 213) and deleteAllEntityPolicyMappingRecords (line 236), but let's not aggravate this situation by introducing different objects. The old code at least invoked both methods on the same java object instance.

Sorry for missing this aspect when I initially suggested breaking BasePersistece down into all individual sub-interfaces. This code is not super easy to comprehend and keep in mind all the time 😅

With this code in mind, I think it makes sense to isolate only MetricsPersistence in this PR (and isolate idempotency persistence in #4269).

I think we need to keep this general difficulty (atomic operations) in mind for future BasePersistece refactorings, but for now I think it makes sense to keep "old" functionality intact and only isolate "new" functionality into purpose-based interfaces (MetricsPersistence, IdempotencyPersistence, etc.)

dimas-b
dimas-b previously approved these changes May 13, 2026

@dimas-b dimas-b left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bearing with me, @huaxingao 😅

@github-project-automation github-project-automation Bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board May 13, 2026
@huaxingao

Copy link
Copy Markdown
Contributor Author

Thanks so much for the careful review, @dimas-b! Appreciate the guidance on this PR!

@flyingImer flyingImer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice first step toward making persistence SPIs independently implementable. Two small suggestions below to smooth the path for out-of-tree integrators.

* BasePersistence} so backends that do not implement metrics persistence can simply return a
* no-op instance.
*/
MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider giving this a default implementation:

default MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext) {
  return new MetricsPersistence() {};
}

MetricsPersistence methods are all no-op by default, so the factory should be too. Backends that don't implement metrics won't need to touch their factory class. They get silent no-op for free, and the source-breaking surface shrinks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion! I'd prefer to keep this abstract. @dimas-b 's earlier comment on the NoSQL override asked for an explicit new MetricsPersistence() {} "for the sake of clarity", my read is we should avoid a factory-level default.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to avoid factory-level defaults.

Also, I suggested making a separate factory for MetricsPersistence as a follow-up. If we go this way, implementation will always be complete (no need for default methods).

}

@Override
public MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: stateless, so a private static final singleton avoids per-call allocation.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

dimas-b
dimas-b previously approved these changes May 13, 2026
@dimas-b

dimas-b commented May 19, 2026

Copy link
Copy Markdown
Contributor

@flyrain @dennishuo : WDYT?

@dimas-b dimas-b changed the title Core: Decompose BasePersistence into disjoint SPIs Core: Isolate MetricsPersistence from BasePersistence SPI May 20, 2026

@flyingImer flyingImer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall. Scope narrowing to MetricsPersistence-only was the right call given the AtomicOperationMetaStoreManager constraint

Is there a tracking issue for the separate MetricsPersistence factory direction Dmitri mentioned?

@dimas-b

dimas-b commented May 28, 2026

Copy link
Copy Markdown
Contributor

@huaxingao : Could you please resolve conflicts?

@dimas-b

dimas-b commented May 28, 2026

Copy link
Copy Markdown
Contributor

@flyingImer : Re: "issue" - I do not think there is one. Do we really need an issue for every PR?

Copilot AI review requested due to automatic review settings May 28, 2026 15:31
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 1, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
@flyingImer

Copy link
Copy Markdown
Collaborator

@flyingImer : Re: "issue" - I do not think there is one. Do we really need an issue for every PR?

@dimas-b I don't think we need an issue for every PR, but tracking via issue for items deferring to a later effort

@dimas-b

dimas-b commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

@flyingImer : sorry, I misunderstood your earlier comment. Yes, good idea to open issues for follow-up changes.

Here's one: #4594

realmContext,
metaStoreManagerFactory.getOrCreateSession(realmContext),
metaStoreManagerFactory.getOrCreateMetricsPersistence(realmContext),
configurationSource);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This instantiates JdbcBasePersistenceImpl twice per request — once via getOrCreateSession, once via getOrCreateMetricsPersistence — even though that class implements both SPIs. Stateless and cheap, but wasteful. Either reuse the session here (it's a BasePersistence & MetricsPersistence, so the generic 3-arg PolarisCallContext ctor accepts it), or have JdbcMetaStoreManagerFactory.getOrCreateMetricsPersistence return the same instance produced by getOrCreateSession.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Thanks!

public MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext) {
return createJdbcPersistence(realmContext);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getOrCreateMetricsPersistence is identical to getOrCreateSession (both call createJdbcPersistence). Since JdbcBasePersistenceImpl implements both SPIs, this duplication just doubles allocation per request. Delegate to getOrCreateSession or note why the duplication is intentional.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Thanks

PolicyMappingPersistence getOrCreatePolicyMappingPersistence(RealmContext realmContext);

/** Returns the per-realm {@link MetricsPersistence}. */
MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MetricsPersistence is very different from "meta store" persistence.

Hi @dimas-b , would you mind elaborate it so that I can understand better?

public MetricsPersistence getOrCreateMetricsPersistence(RealmContext realmContext) {
// JdbcBasePersistenceImpl implements both BasePersistence and MetricsPersistence, so reuse the
// session creation path rather than building a second, independent persistence instance.
return (MetricsPersistence) getOrCreateSession(realmContext);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not call createJdbcPersistence() and avoid the type cast?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MetricsPersistence metricsPersistence =
(metaStore instanceof MetricsPersistence mp)
? mp
: metaStoreManagerFactory.getOrCreateMetricsPersistence(realmContext);

@dimas-b dimas-b Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This call is generally useless now. All functional implementations of getOrCreateMetricsPersistence() produce the objects that support both the BasePersistence and MetricsPersistence interfaces.

If we want to keep the type check logic on line 144, I think we ought to remove getOrCreateMetricsPersistence() from MetaStoreManagerFactory for the sake of clarity.

Alternatively, we can remove the type check on line 144 and rely on the factory to perform optimizations like returning the same object for both cases... when required.

As for JDBC, I do not think such an optimization is required. The returned JdbcBasePersistenceImpl is a light-weight shell and creating two vs. one of them will hardly be noticeable in runtime.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dimas-b

dimas-b commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@huaxingao : Can you spare a bit more time to push this PR over the finish line?

Please resolve conflicts.

Feel free to treat all my outstanding comments as optional. I'd rather merge this PR for the sake of making progress and make additional changes in follow-up PRs :)

Co-authored-by: Cursor <[email protected]>

# Conflicts:
#	runtime/service/src/testFixtures/java/org/apache/polaris/service/TestServices.java
@huaxingao

Copy link
Copy Markdown
Contributor Author

Thanks @dimas-b ! I've merged in the latest main and resolved the conflicts: the PR is mergeable again. I haven't addressed your last two comments; I'll take you up on the offer to handle those in a follow-up PR so we can get this merged. 🙏

@dimas-b

dimas-b commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@flyrain : PTAL

@flyrain flyrain left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the change, @huaxingao!

@dimas-b
dimas-b merged commit 4b4a02e into apache:main Jun 8, 2026
24 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to merge to Done in Basic Kanban Board Jun 8, 2026
@huaxingao
huaxingao deleted the refactor branch June 8, 2026 18:39
@huaxingao

Copy link
Copy Markdown
Contributor Author

Thanks a lot @dimas-b @flyrain @flyingImer

snazy pushed a commit that referenced this pull request Jun 10, 2026
... apparently caused by merge overlap between #4632 and #4397
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 16, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 24, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 24, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 24, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 25, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 25, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jun 26, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
obelix74 pushed a commit to obelix74/polaris that referenced this pull request Jul 13, 2026
…ache#4397 TODOs

- Change projectedFieldIds (List<Integer>) and projectedFieldNames (List<String>)
  from comma-separated strings to proper JSON arrays in ScanMetricsReport and
  the OpenAPI spec, avoiding secondary encoding inside JSON
- Add TODO on totalDurationMs 0L ambiguity in ModelCommitMetricsReport, tying
  it to the planned nullable column fix in apache#4397
- Add TODO on listScanMetrics/listCommitMetrics in PolarisMetricsManager noting
  these route through the transitional aggregate surface and should be rerouted
  once apache#4397 moves MetricsPersistence to a standalone SPI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants