zuora_connect 3.2.2 → 3.2.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.
- checksums.yaml +4 -4
- data/app/views/sql/refresh_aggregate_table.txt +3 -2
- data/lib/zuora_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3442f4b39c0b917e66b7d64fd07e631773f9db276ea60c3c2f0e9382d09c1d23
|
|
4
|
+
data.tar.gz: 0e2f0d9d8a90488a1a6fc5d64e7eccbc38403483828c59fed0d7710f970f2d39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 00e597ca1cf6203a875cf82b9c5c9b439e495d2d69e53977b9a1c9f0bb310f24db9bb379bd9cbd7304d0e3628ae871205c21c9b90966bff462f25e78b69ed8eb
|
|
7
|
+
data.tar.gz: 50dd2bbeb894e9b1fed6a33ccefb9bb90e889698f4d2c36079ee05543331112043a430dbc207c97c2ea25584a34eab62d0b27de34dbeda9f74afb4f65239f6aa
|
|
@@ -67,17 +67,18 @@ BEGIN
|
|
|
67
67
|
-- Finally, we'll select everything from this schema's target table, plus the schema's name,
|
|
68
68
|
-- and insert them into our new aggregate table
|
|
69
69
|
EXECUTE format(
|
|
70
|
-
'SELECT string_agg(column_name, '','') from information_schema.columns where table_name = ''%s'' AND table_schema = ''%s''',
|
|
70
|
+
'SELECT string_agg(column_name, '','' order by column_name) from information_schema.columns where table_name = ''%s'' AND table_schema = ''%s''',
|
|
71
71
|
table_name, schema.nspname
|
|
72
72
|
) into fields_order;
|
|
73
73
|
|
|
74
74
|
raise notice 'Importing Schema %', schema.nspname;
|
|
75
75
|
|
|
76
76
|
EXECUTE format(
|
|
77
|
-
'INSERT INTO "public".%I (schema_name, %s) (SELECT ''%s'' AS schema_name,
|
|
77
|
+
'INSERT INTO "public".%I (schema_name, %s) (SELECT ''%s'' AS schema_name, %s FROM %I.%I %s )',
|
|
78
78
|
aggregate_table_name,
|
|
79
79
|
fields_order,
|
|
80
80
|
schema.nspname,
|
|
81
|
+
fields_order,
|
|
81
82
|
schema.nspname, table_name,
|
|
82
83
|
filter
|
|
83
84
|
);
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connect Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apartment
|