Runtime: Code quality burndown
begelundmuller opened this issue · comments
- Support measure filters in
metricsview
package - Deprecate metrics queries in
queries
package - In
runtime/metricsview
, push unnest handling to dimension expression - Use
jsonval
for metricsResolver - Migrate
MetricsViewRows
andMetricsViewSearch
to useruntime/metricsview
for query generation - Setup test fixtures for easily testing metrics queries against all backends
- Migrate old metrics tests
- Validation for advanced measures (including
unnest
) - Cache metrics view schema in state in reconciler
- Migration of OLAP connector:
- Check
connector.druid.dsn
andolap_connector
is set for every Druid project - Remove DB driver and DSN from admin-side
- Change OLAP config logic in local.NewApp
- Check
- Test
unnest
for Druid and DuckDB (must not add prefix on Druid) - Test windowed measure partitioned by unnested dimension
- Fix dynamic time range of P1Y becomes narrower than no time range
- Clean up
parse_metrics_view.go
code - Deprecate
rillv1beta
compiler - In
resolverResult
, therowLimit
can be changed toSetCap
- In
resolverResult
, theMarshalJSON
can easily be optimized - Rename
OLAPStore.Execute
toOLAPStore.Query
- Remove
Measures
inSubquery
, replace it with a recursive scan of names inHaving
- Fix ordering of messages in
api.proto
- Rename
ServiceToken
toServiceAuthToken
for consistency - Incorporate
Security.QueryFilter
into metricssql - Drop
V2
suffixes inresources.proto
- Remove
ReadProfiling
andReadRepo
permissions in JWT on cloud - Add E2E tests for security policies
- Add an option to custom APIs about whether or not to skip security policies on the underlying resolver
- In the
admin
server, cleanup and reduce duplication in the calls toNewToken
- Implement pagination for
ListResources
- Fix the exports in
runtime/resolvers/sql.go
- Simplify trigger API
- Support triggers for alerts and reports
- Fix +1 second issue in alert execution times (thread)
- Remove the DDL functions from
OLAPStore
and make internal functions - Cleanup CPU/memory config (spread multiple places – DuckDB should get from the instance, the instance should discover CPU/memory instead of being set by the creator)
- Change CORS on local to only allow requests from frontend (code here)
- Support
DataYAML
in reports - [] Remove unused features in
runtime/drivers/blob
and move toruntime/pkg
- [] Change
ObjectStore.ListObjects
to return an iterator - [] Change
ObjectStore.DownloadFiles
to accept a fixed options struct - [] Rename
ObjectStore.DownloadFiles
to DownloadObjects - [] Change
SQLStore.Query[AsFiles]
to accept a fixed options struct - [] Change
globutil.URL
to have Bucket instead of Host
This is expected to be running for next few sprints.