repo stringlengths 7 33 | instance_id stringlengths 15 120 | language stringclasses 13
values | swe_type stringclasses 3
values | base_commit stringlengths 7 40 | problem_statement stringlengths 124 69.4k | patch stringlengths 357 206k | correct_patches listlengths 1 128 | incorrect_patches listlengths 1 128 | test_patch stringlengths 442 322k | FAIL_TO_PASS listlengths 1 1.87k | PASS_TO_PASS listlengths 0 66.3k |
|---|---|---|---|---|---|---|---|---|---|---|---|
apache/druid | apache__druid-13704 | java | swe_bench_multilingual | 51dfde02840017092486fb75be2b16566aff6a19 | Support Post aggregation function pow(f1,f2) to cater for square, cube , square root.
### Description
Please describe the feature or change with as much detail as possible.
As of now the only supported arithmetic functions are +, -, *, /, and quotient.
https://druid.apache.org/docs/latest/querying/post-aggregat... | diff --git a/docs/querying/post-aggregations.md b/docs/querying/post-aggregations.md
index c75d122eb20a..935ca8fbce16 100644
--- a/docs/querying/post-aggregations.md
+++ b/docs/querying/post-aggregations.md
@@ -36,7 +36,7 @@ There are several post-aggregators available.
The arithmetic post-aggregator applies the provi... | [
"diff --git a/docs/querying/post-aggregations.md b/docs/querying/post-aggregations.md\nindex c75d122eb2..143e8e3e55 100644\n--- a/docs/querying/post-aggregations.md\n+++ b/docs/querying/post-aggregations.md\n@@ -36,12 +36,13 @@ There are several post-aggregators available.\n The arithmetic post-aggregator applies t... | [
"diff --git a/docs/querying/post-aggregations.md b/docs/querying/post-aggregations.md\nindex c75d122eb2..0bd9fe9b26 100644\n--- a/docs/querying/post-aggregations.md\n+++ b/docs/querying/post-aggregations.md\n@@ -36,7 +36,7 @@ There are several post-aggregators available.\n The arithmetic post-aggregator applies the... | diff --git a/processing/src/test/java/org/apache/druid/query/aggregation/post/ArithmeticPostAggregatorTest.java b/processing/src/test/java/org/apache/druid/query/aggregation/post/ArithmeticPostAggregatorTest.java
index a93034427539..7e1d4d112b40 100644
--- a/processing/src/test/java/org/apache/druid/query/aggregation/p... | [
"org.apache.druid.query.aggregation.post.ArithmeticPostAggregatorTest#testPow"
] | [
"org.apache.druid.query.aggregation.post.ArithmeticPostAggregatorTest#testDiv",
"org.apache.druid.query.aggregation.post.ArithmeticPostAggregatorTest#testQuotient"
] |
apache/druid | apache__druid-14092 | java | swe_bench_multilingual | 4fffee17761286996a8c43154b72db4bcaafb16d | "DruidLeaderClient should refresh cache for non-200 responses\nCurrently DruidLeaderClient invalidat(...TRUNCATED) | "diff --git a/server/src/main/java/org/apache/druid/discovery/DruidLeaderClient.java b/server/src/ma(...TRUNCATED) | ["diff --git a/EdgeCaseTests.java b/EdgeCaseTests.java\nnew file mode 100644\nindex 0000000000..816f(...TRUNCATED) | ["diff --git a/EdgeCaseTests.java b/EdgeCaseTests.java\nnew file mode 100644\nindex 0000000000..64b9(...TRUNCATED) | "diff --git a/server/src/test/java/org/apache/druid/discovery/DruidLeaderClientTest.java b/server/sr(...TRUNCATED) | [
"org.apache.druid.discovery.DruidLeaderClientTest#test503ResponseFromServerAndCacheRefresh"
] | [
"org.apache.druid.discovery.DruidLeaderClientTest#testServerFailureAndRedirect"
] |
apache/druid | apache__druid-14136 | java | swe_bench_multilingual | a7d4162195a630c380d75516c24229cc23e25271 | "Zero-length interval matches too much data\nOn the example wikipedia dataset, this query matches al(...TRUNCATED) | "diff --git a/processing/src/main/java/org/apache/druid/java/util/common/JodaUtils.java b/processing(...TRUNCATED) | ["diff --git a/processing/src/main/java/org/apache/druid/timeline/VersionedIntervalTimeline.java b/p(...TRUNCATED) | ["diff --git a/EdgeCaseTests.java b/EdgeCaseTests.java\nnew file mode 100644\nindex 0000000000..70e6(...TRUNCATED) | "diff --git a/processing/src/test/java/org/apache/druid/common/utils/JodaUtilsTest.java b/processing(...TRUNCATED) | ["org.apache.druid.timeline.VersionedIntervalTimelineTest#testOverlapSecondContainsFirstZeroLengthIn(...TRUNCATED) | ["org.apache.druid.timeline.VersionedIntervalTimelineTest#testOverlapFirstContainsSecond","org.apach(...TRUNCATED) |
apache/druid | apache__druid-15402 | java | swe_bench_multilingual | 1df53d6eb30a019fff69a5ff7533ebbd998a438d | "Druid 28.0.0 breaks the whole-query cache for groupBy queries with multiple post-aggregate metrics.(...TRUNCATED) | "diff --git a/processing/src/main/java/org/apache/druid/query/groupby/GroupByQueryQueryToolChest.jav(...TRUNCATED) | ["diff --git a/processing/src/main/java/org/apache/druid/query/groupby/GroupByQueryQueryToolChest.ja(...TRUNCATED) | ["diff --git a/EdgeCaseTests.class b/EdgeCaseTests.class\nnew file mode 100644\nindex 0000000000..35(...TRUNCATED) | "diff --git a/processing/src/test/java/org/apache/druid/query/groupby/GroupByQueryQueryToolChestTest(...TRUNCATED) | [
"org.apache.druid.query.groupby.GroupByQueryQueryToolChestTest#testCacheStrategy"
] | ["org.apache.druid.query.groupby.GroupByQueryQueryToolChestTest#testResultLevelCacheKeyWithSubTotals(...TRUNCATED) |
apache/druid | apache__druid-16875 | java | swe_bench_multilingual | 483a03f26c7221f10493d86715985a58e61af967 | "WorkerTaskCountStatsMonitor doesn't work in Druid 30.0.0\n### Affected Version\r\n\r\n30.0.0\r\n\r\(...TRUNCATED) | "diff --git a/server/src/main/java/org/apache/druid/server/metrics/WorkerTaskCountStatsMonitor.java (...TRUNCATED) | ["diff --git a/server/src/main/java/org/apache/druid/server/metrics/WorkerTaskCountStatsMonitor.java(...TRUNCATED) | ["diff --git a/EdgeCaseTests.java b/EdgeCaseTests.java\nnew file mode 100644\nindex 0000000000..5929(...TRUNCATED) | "diff --git a/server/src/test/java/org/apache/druid/server/metrics/WorkerTaskCountStatsMonitorTest.j(...TRUNCATED) | [
"org.apache.druid.server.metrics.WorkerTaskCountStatsMonitorTest#testMonitorWithPeon"
] | ["org.apache.druid.server.metrics.WorkerTaskCountStatsMonitorTest#testMonitorWithNulls","org.apache.(...TRUNCATED) |
apache/lucene | apache__lucene-12022 | java | swe_bench_multilingual | 11f2bc205652f1f2b2f61ba286cbfd2d77fd2d1b | "Very flat polygons give incorrect 'contains' result\n### Description\n\nWhen performing a search us(...TRUNCATED) | "diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt\nindex 132ce5cf82fe..56b0c818bdd9 100644\n--- (...TRUNCATED) | ["diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt\nindex 132ce5cf82fe..56b0c818bdd9 100644\n---(...TRUNCATED) | ["diff --git a/FlatPolygonTest.java b/FlatPolygonTest.java\nnew file mode 100644\nindex 0000000000..(...TRUNCATED) | "diff --git a/lucene/core/src/test/org/apache/lucene/document/TestLatLonShape.java b/lucene/core/src(...TRUNCATED) | [
"org.apache.lucene.document.TestLatLonShape > testFlatPolygonDoesNotContainIntersectingLine"
] | ["org.apache.lucene.document.TestLatLonShape > testContainsWrappingBooleanQuery","org.apache.lucene.(...TRUNCATED) |
apache/lucene | apache__lucene-12196 | java | swe_bench_multilingual | 0651d25713dde144df6541663b18accbc93cdc64 | "Slop is missing when boost is passed to MultiFieldQueryParser (Since Lucene 5.4.0)\n### Description(...TRUNCATED) | "diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt\nindex 7391f2687573..0a0a265c8b0a 100644\n--- (...TRUNCATED) | ["diff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradle\nindex 9f(...TRUNCATED) | ["diff --git a/ReproduceIssue.class b/ReproduceIssue.class\nnew file mode 100644\nindex 0000000000..(...TRUNCATED) | "diff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/classic/TestMultiFieldQueryP(...TRUNCATED) | [
"org.apache.lucene.queryparser.classic.TestMultiFieldQueryParser > testBoostsSimple"
] | ["org.apache.lucene.queryparser.classic.TestMultiFieldQueryParser > testStaticMethod2Old","org.apach(...TRUNCATED) |
apache/lucene | apache__lucene-13170 | java | swe_bench_multilingual | 3f4413567d2d41ecee16fcfe2c91a4b84bec0df8 | "ArrayIndexOutOfBoundsException in OpenNLPSentenceBreakIterator \n### Description\n\nWhen calling [p(...TRUNCATED) | "diff --git a/lucene/analysis/opennlp/src/java/org/apache/lucene/analysis/opennlp/OpenNLPSentenceBre(...TRUNCATED) | ["diff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradle\nindex dc(...TRUNCATED) | ["diff --git a/ReproduceIssue.java b/ReproduceIssue.java\nnew file mode 100644\nindex 0000000000..87(...TRUNCATED) | "diff --git a/lucene/analysis/opennlp/src/test/org/apache/lucene/analysis/opennlp/TestOpenNLPSentenc(...TRUNCATED) | ["org.apache.lucene.analysis.opennlp.TestOpenNLPSentenceBreakIterator > testPrecedingWithTwoSentence(...TRUNCATED) | ["org.apache.lucene.analysis.opennlp.TestOpenNLPSentenceBreakIterator > testFirstPosition","org.apac(...TRUNCATED) |
apache/lucene | apache__lucene-13494 | java | swe_bench_multilingual | ab291210db08276fef1b52bf7b840d431e96ce08 | "NullPointerException in StringValueFacetCounts when using MultiCollectorManager\n### Description\n\(...TRUNCATED) | "diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt\nindex baa53ed5d901..3053955144d4 100644\n--- (...TRUNCATED) | ["diff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradle\nindex 1f(...TRUNCATED) | ["diff --git a/SOLUTION_SUMMARY.txt b/SOLUTION_SUMMARY.txt\nnew file mode 100644\nindex 0000000000..(...TRUNCATED) | "diff --git a/lucene/facet/src/test/org/apache/lucene/facet/TestStringValueFacetCounts.java b/lucene(...TRUNCATED) | [
"TestStringValueFacetCounts > testEmptyMatchset"
] | ["TestStringValueFacetCounts > testStaleState","TestStringValueFacetCounts > testRandom","TestString(...TRUNCATED) |
apache/lucene | apache__lucene-13704 | java | swe_bench_multilingual | ce4f56e74ad1087df8bdc019fc09d1b40438e8b3 | "Narrow polygons close to latitude 90 do not match any points\n### Description\r\n\r\nI found an edg(...TRUNCATED) | "diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt\nindex ae15247ac23c..63390dd8f9f9 100644\n--- (...TRUNCATED) | ["diff --git a/gradle/testing/defaults-tests.gradle b/gradle/testing/defaults-tests.gradle\nindex 1f(...TRUNCATED) | ["diff --git a/ReproduceIssue.java b/ReproduceIssue.java\nnew file mode 100644\nindex 0000000000..72(...TRUNCATED) | "diff --git a/lucene/test-framework/src/java/org/apache/lucene/tests/geo/BaseGeoPointTestCase.java b(...TRUNCATED) | [
"TestLatLonDocValuesQueries > testNarrowPolygonCloseToNorthPole"
] | ["TestLatLonDocValuesQueries > testSmallSetDistanceNotEmpty","TestLatLonDocValuesQueries > testRando(...TRUNCATED) |
End of preview. Expand in Data Studio
- Downloads last month
- 162