aglinxinyuan commented on code in PR #9417:
URL: https://github.com/apache/texera/pull/9417#discussion_r4592500895
##########
amber/src/main/scala/org/apache/texera/amber/engine/architecture/coordinator/promisehandlers/PauseHandler.scala:
##########
@@ -55,9 +51,6 @@ trait PauseHandler {
.flatMap(_.getAllOperatorExecutions)
.map {
case (physicalOpId, opExecution) =>
Review Comment:
Done in 18384d9c7a: now `case (_, opExecution) =>`, and the comment reads
"get the stats from the worker".
##########
amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/dataset/utils/DatasetStatisticsUtils.scala:
##########
@@ -66,10 +55,6 @@ object DatasetStatisticsUtils {
}
def getUserCreatedDatasets(uid: Integer): List[DatasetQuota] = {
- val datasetList = getUserCreatedDatasetList(uid)
- datasetList.map { dataset =>
- val size = 0 // we disabled the size calculation due to the switch of
dataset implementation
- dataset.copy(size = size)
- }
+ getUserCreatedDatasetList(uid)
Review Comment:
Done in 18384d9c7a: the query now lives directly in `getUserCreatedDatasets`
with the corrected comment, and the size-disabled note sits next to `size = 0`.
##########
amber/src/test/scala/org/apache/texera/web/resource/dashboard/user/dataset/utils/DatasetStatisticsUtilsSpec.scala:
##########
@@ -112,33 +112,6 @@ class DatasetStatisticsUtilsSpec extends AnyFlatSpec with
BeforeAndAfterAll with
insertDataset(otherUid, now())
}
Review Comment:
Done in 18384d9c7a: removed `seedTwoOwners()` and its doc; the comment now
says "the query".
--
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]