DruidInputSource can add new dimensions during re-ingestion#9590
DruidInputSource can add new dimensions during re-ingestion#9590ccaominh merged 15 commits intoapache:masterfrom
Conversation
| "version" : "v1", | ||
| "timestamp" : "2013-08-31T00:00:00.000Z", | ||
| "event" : { | ||
| "added_count_times_ten" : 9050.0, |
There was a problem hiding this comment.
typo in expected results
| "added_count_times_ten" : 9050.0, | |
| "added_count_times_ten" : 27150.0, |
|
Can you parameterize all the query and index json files? I think it's much harder to keep track of many many many different query and index json files we have for IT. Especially when they are 80-90% the same. |
Across all It's hard to parameterize |
I am thinking of parameterizing the json files themself across the new json files you added |
I think parameterizing the json files is a great idea, but there's a lot of tight coupling between the json files and the base IT classes. I'm not sure where the best place to do this is because of that. I'd rather do the parameterization in a separate change - when #9591 #9592 or #9589 are fixed |
| "filter" : "transform-data.json" | ||
| }, | ||
| "inpuFormat" : { | ||
| "inputFormat" : { |
| * @param explicitDimensions sent as part of the re-ingestion InputSource. | ||
| * @param dimensionsSpec from the provided ingestion spec. | ||
| * @param timeLineSegments for the datasource that is being read. | ||
| * @return |
There was a problem hiding this comment.
nit: please add description for the return value or remove this.
) * WIP integration tests * Add integration test for ingestion with transformSpec * WIP almost working tests * Add ignored tests * checkstyle stuff * remove newPage from index task ingestion spec * more test cleanup * still not quite working * Actually disable the tests * working tests * fix codestyle * dont use junit in integration tests * actually fix the bug * fix checkstyle * bring index tests closer to reindex tests
…9590) (#9606) * DruidInputSource can add new dimensions during re-ingestion (#9590) * WIP integration tests * Add integration test for ingestion with transformSpec * WIP almost working tests * Add ignored tests * checkstyle stuff * remove newPage from index task ingestion spec * more test cleanup * still not quite working * Actually disable the tests * working tests * fix codestyle * dont use junit in integration tests * actually fix the bug * fix checkstyle * bring index tests closer to reindex tests * Remove QUICKSTART_COMPATIBLE
) * WIP integration tests * Add integration test for ingestion with transformSpec * WIP almost working tests * Add ignored tests * checkstyle stuff * remove newPage from index task ingestion spec * more test cleanup * still not quite working * Actually disable the tests * working tests * fix codestyle * dont use junit in integration tests * actually fix the bug * fix checkstyle * bring index tests closer to reindex tests
Fixes #9593 #9592
Description
Add integration tests for using transformSpec during ingestion. The tests test transformSpecs that add metrics and dimensions using both a Druid InputSource and the deprecated ingestSegmentFirehose.
Writing these tests surfaced #9589 #9591 When these issues are fixed, those tests can be re-enabled.