mirror of
https://github.com/apache/impala.git
synced 2025-12-23 21:08:39 -05:00
Revert "IMPALA-6759: align stress test memory estimation parse pattern"
This reverts commit 2521848753.
This commit is contained in:
@@ -65,8 +65,6 @@ def parse_mem_to_mb(mem, units):
|
||||
mem *= 10 ** 3
|
||||
elif units == "T":
|
||||
mem *= 10 ** 6
|
||||
elif units == "P":
|
||||
mem *= 10 ** 9
|
||||
else:
|
||||
raise Exception('Unexpected memory unit "%s"' % units)
|
||||
return int(mem)
|
||||
|
||||
Reference in New Issue
Block a user