clickhouse-activerecord 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b58936bbd27fcd4498c25d1e1af9986d542afa0
|
4
|
+
data.tar.gz: 16353c4fa6407aae8306aa9de4b672c7bf19c956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06dbf3be1a96d6aa08c0d51da3c4f01922387720bcda1d12812b763c13c2ab8887e0cec96a28e8b3d3956031ab36ae289674ac37dc6aa12b5ba022b857268782
|
7
|
+
data.tar.gz: 5111a57ed82dded29f3490974f494097988021c233a9ab42dd719d91dcf1dc5725c519bc07f18180be6c5d8cbb7219d851831b926a73c395126e24a2814ea1b8
|
@@ -7,7 +7,7 @@ module ClickhouseActiverecord
|
|
7
7
|
|
8
8
|
def aggregate(name, o, collector)
|
9
9
|
# replacing function name for materialized view
|
10
|
-
if o.expressions.first && o.expressions.first.relation && o.expressions.first.relation.engine && o.expressions.first.relation.engine.is_view
|
10
|
+
if o.expressions.first && o.expressions.first != '*' && o.expressions.first.relation && o.expressions.first.relation.engine && o.expressions.first.relation.engine.is_view
|
11
11
|
super("#{name.downcase}Merge", o, collector)
|
12
12
|
else
|
13
13
|
super
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clickhouse-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Odintsov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|