Menu dokumentacji

Apple App Store#

Połącz Apple App Store za pomocą identyfikatorów wystawcy i klucza, klucza prywatnego oraz numeru dostawcy. Źródło zapisuje 1 stałą tabelę w schemacie titan.apple_app_store.

sql
select
  event_date,
  app_name,
  app_apple_id
from titan.apple_app_store.sales_subscriber_detailed
limit 10

Połącz Apple App Store#

  1. Otwórz Aplikacje, wybierz Połącz aplikację, a następnie Apple App Store.

  2. Podaj identyfikator wystawcy, identyfikator klucza, klucz prywatny i numer dostawcy.

  3. Sprawdź tabele, a następnie zapisz źródło.

  4. Obserwuj Historię synchronizacji, aż pierwsze uruchomienie się zakończy.

Dane uwierzytelniające są przechowywane jako sekrety. Nigdy nie stają się kolumnami jeziora ani nie pojawiają się w wynikach zapytań.

Sposób synchronizacji#

Supernova pobiera szczegółowe raporty sprzedaży subskrypcji i zachowuje ich pola jako kolumny z określonymi typami.

Nowe źródło synchronizuje się po połączeniu, a następnie zgodnie z harmonogramem. Domyślny interwał cykliczny wynosi 4 godziny. Przerwane uruchomienie zachowuje ukończone postępy i jest bezpiecznie ponawiane.

Każda tabela jeziora ma też kolumny systemowe _synced_at i _deleted; poniższa dokumentacja kolumn obejmuje wyłącznie kolumny źródłowe.

Dokumentacja tabel#

sales_subscriber_detailed#

titan.apple_app_store.sales_subscriber_detailed ma 26 kolumn źródłowych.

apple_app_store.sales_subscriber_detailed26 kolumn
event_datedatepk

Pole źródłowe event_date.

app_namestring

Pole źródłowe app_name.

app_apple_idinteger

Pole źródłowe app_apple_id.

subscription_namestringpk

Pole źródłowe subscription_name.

subscription_apple_idinteger

Pole źródłowe subscription_apple_id.

subscription_group_idinteger

Pole źródłowe subscription_group_id.

standard_subscription_durationstring

Pole źródłowe standard_subscription_duration.

subscription_offer_namestring

Pole źródłowe subscription_offer_name.

promotional_offer_idstring

Pole źródłowe promotional_offer_id.

subscription_offer_typestring

Pole źródłowe subscription_offer_type.

subscription_offer_durationstring

Pole źródłowe subscription_offer_duration.

marketing_opt_in_durationstring

Pole źródłowe marketing_opt_in_duration.

customer_pricefloat

Pole źródłowe customer_price.

customer_currencystring

Pole źródłowe customer_currency.

developer_proceedsfloat

Pole źródłowe developer_proceeds.

proceeds_currencystring

Pole źródłowe proceeds_currency.

preserved_pricingstring

Pole źródłowe preserved_pricing.

proceeds_reasonstring

Pole źródłowe proceeds_reason.

clientstring

Pole źródłowe client.

devicestring

Pole źródłowe device.

countrystring

Pole źródłowe country.

subscriber_idintegerpk

Pole źródłowe subscriber_id.

subscriber_id_resetstring

Pole źródłowe subscriber_id_reset.

refundstringpk

Pole źródłowe refund.

purchase_datedatepk

Pole źródłowe purchase_date.

unitsinteger

Pole źródłowe units.

Usunięcia i historia#

Wiersze są scalane według klucza źródłowego. Gdy źródło może potwierdzić usunięcie wiersza, Supernova zachowuje go i ustawia _deleted, dzięki czemu zapytania mogą zdecydować, czy uwzględniać historię. Aby pobierać bieżący stan, filtruj zapytania przez where not _deleted.