मुख्य सामग्री पर जाएँ
Skillpedia
डेटाबेस41k · #6845

setting-up-warehouse-properties

यह क्या करती है

यह स्किल पूरी वेयरहाउस टेबल या व्यू को PostHog में लोगों या समूहों से जोड़ती है, उसी शेड्यूल पर जिस पर टेबल पहले से सिंक होती है। यह उन टीमों के लिए है जो अभी उपयोगकर्ता डेटा PostHog भेजने वाली स्क्रिप्ट चलाती हैं।

कब इस्तेमाल करें

  • ✓जब आपके पास रोज़ चलने वाली स्क्रिप्ट हो जो उपयोगकर्ता की विशेषताएँ PostHog भेजती है, और आप चाहें कि PostHog उन्हें खुद खींचे।
  • ✓जब आप ग्राहक विशेषताओं वाली चौड़ी टेबल को एक बार में लोगों से जोड़ना चाहें।
  • ✓जब आप वेयरहाउस प्रॉपर्टी वाले हिस्से में हों और पूरी टेबल मैपिंग सेट करना चाहें।

Skill का लिंक

https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/setting-up-warehouse-properties/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/customer_analytics/skills/setting-up-warehouse-properties/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारी रोज़ की identify स्क्रिप्ट की जगह ग्राहक विशेषताओं की टेबल को PostHog में व्यक्ति प्रॉपर्टी से जोड़कर बदल दीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI तय करता है कि कौन से कॉलम प्रॉपर्टी बनेंगे और उनके नाम क्या होंगे, फिर पूरी मैपिंग एक ही अनुरोध में सहेजता है। उसके बाद PostHog हर सिंक पर टेबल से लोगों को अपडेट करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Setting up warehouse properties

Warehouse properties write columns from a warehouse table or materialized view onto matching people or groups, on the schedule that table already syncs on. They replace a cron that sends $set identify events.

The mapping is the whole job. Most tables worth mapping are wide, so the work is deciding which columns become properties and what they are called — not making many API calls. One source carries the entire mapping: custom-property-sources-create takes the complete column_property_map in a single request, so never loop per column.

When to use this skill

  • "Sync my postgres.customer_attributes columns to person properties"
  • "We send a daily identify job from our warehouse, can PostHog pull it instead?"
  • "Map this table to people" / "reverse ETL into PostHog"
  • The user is looking at Data → Warehouse properties and wants a whole table mapped

Use setting-up-a-data-warehouse-source instead when the table is not in the warehouse yet. This skill starts once the data is syncing.

Tools

Tool Purpose
external-data-schemas-list Find a synced table and its schema id (the external_data_schema binding); columns are omitted here
external-data-schemas-retrieve Read one synced table's columns and types by schema id
view-list Find a materialized view and its column schema (the saved_query binding)
view-get Read one materialized view's columns and types by id
custom-property-definitions-list See what warehouse properties already exist for the team
custom-property-definitions-create Create the definition the source attaches to (target_type: person or group)
custom-property-sources-create Bind the definition to the table, carrying the whole column_property_map
custom-property-sources-backfill Populate historical rows after creating the mapping
custom-property-sources-runs-list Check the run funnel after a sync or backfill
custom-property-sources-sync Run the underlying table now

Person and group targets need the warehouse-person-properties feature. A group target additionally needs the group:write scope; without it, custom-property-sources-create refuses the group definition.

The flow

1. Find the table and its columns

For a synced table, external-data-schemas-list gives you the schema id (the external_data_schema binding), and external-data-schemas-retrieve returns that schema's columns and types.

For a materialized view, view-list finds the view and its column schema, and view-get returns one view's columns by id; a view binds by saved_query instead, and must already be materialized, since an unmaterialized view has no data to read and the create call rejects it.

2. Pick the identifier column, and say why it matters

Ask which column holds the PostHog distinct ID (person targets) or the group key (group targets). This is the single most common reason a mapping silently does nothing, so do not guess it from a name like id or user_id without confirming.

Two properties of the sync are worth stating plainly before the user commits:

  • It only updates people or groups that already exist in PostHog. Rows that match nobody are skipped, and the run reports them as skipped_missing_person. It does not create people.
  • Null values are skipped, not written. A column that is null for a row leaves that property as it was. If the user expects a null to clear a property, warehouse properties will not do it.

3. Propose the mapping before creating anything

Build the full column_property_map — {warehouse_column: property_name} — and show it to the user for approval. Default to **the same name on both side

अक्सर पूछे जाने वाले सवाल

क्या हर कॉलम अलग से सेट करना होगा?

नहीं। कॉलम की पूरी मैपिंग एक ही अनुरोध में सहेजी जाती है।

क्या टेबल पहले से वेयरहाउस में होनी चाहिए?

हाँ। टेबल पहले से सिंक हो रही होनी चाहिए। उसे जोड़ना एक अलग सेटअप चरण है।

पंक्तियाँ लोगों से कैसे मेल खाती हैं?

हर पंक्ति को एक अलग ID या समूह कुंजी वाले कॉलम से किसी व्यक्ति या समूह से मेल खाना होगा।

जानकारी

लेखक का मूल विवरण

Populate person or group properties from a data warehouse table or materialized view, so warehouse columns become properties usable in feature flags, cohorts, and insights. Use when the user wants to "sync my Postgres columns to person properties", "map a warehouse table to people", "replace our daily identify cron", "update person properties from the warehouse", or asks for reverse ETL into PostHog. Covers picking the table and the identifier column, proposing a whole-table column mapping in one call, excluding identity and reserved properties, checking collisions with properties that already

repo: PostHog/posthog

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6845
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills