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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcc9097dca797e7574ab64d1d168f9c97503bec9575a312ab82a36dbc57bf60c
4
- data.tar.gz: 56b303735ab06d5ae0e04a5c065039f4bda146782d6d9cca7f8b9e393f1758eb
3
+ metadata.gz: 3442f4b39c0b917e66b7d64fd07e631773f9db276ea60c3c2f0e9382d09c1d23
4
+ data.tar.gz: 0e2f0d9d8a90488a1a6fc5d64e7eccbc38403483828c59fed0d7710f970f2d39
5
5
  SHA512:
6
- metadata.gz: 2b3ec3561a78b529378a1ed8946ed7445d63542e21bc3ef734959d2b41638855c5f052b4b57de70eac3f14ec5226f0e137135fcd986add16524b79fb7990d811
7
- data.tar.gz: 515298d976b032e723a9bbdc59a6d17a457e718354a9a2f8a7e4c114df4371dcb6e2e15d21fc422bdf3351f5eced0612973f284fa7d0597bdf1c4b620136b430
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, * FROM %I.%I %s )',
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
  );
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZuoraConnect
4
- VERSION = "3.2.2"
4
+ VERSION = "3.2.3"
5
5
  end
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.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-01-06 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apartment