presto-metrics 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ module Presto
14
14
  @client = client
15
15
  end
16
16
 
17
- def format_table(tbl, label, align, sep:' ')
17
+ def format_table(tbl, label, align, sep)
18
18
  # Compute col length
19
19
  col = {}
20
20
  label.each_with_index{|l, i| col[i] = l.length}
@@ -62,7 +62,8 @@ module Presto
62
62
  format_table(
63
63
  tbl,
64
64
  :label => %w|query time state r f t user catalog schema source sql|,
65
- :align => %w|r r r r r r l l r l l |
65
+ :align => %w|r r r r r r l l r l l |,
66
+ :sep => ' '
66
67
  )
67
68
  end
68
69
 
@@ -87,7 +88,8 @@ module Presto
87
88
  }
88
89
  format_table(stats,
89
90
  :label => %w|task_id host state processed_rows size|,
90
- :align => %w|l l l r r|
91
+ :align => %w|l l l r r|,
92
+ :sep => ' '
91
93
  )
92
94
  end
93
95
 
@@ -1,5 +1,5 @@
1
1
  module Presto
2
2
  module Metrics
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: presto-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: