You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/data-ingestion/clickpipes/mongodb/faq.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ SELECT doc.^address.city AS city FROM your_table;
27
27
MongoDB documents are replicated as JSON type in ClickHouse by default, preserving the nested structure. You have several options to flatten this data. If you want to flatten the data to columns, you can use normal views, materialized views, or query-time access.
28
28
29
29
1.**Normal Views**: Use normal views to encapsulate flattening logic.
30
-
2.**Materialized Views**: For smaller datasets, you can use refreshable materialized with FINAL to periodically flatten and deduplicate data. For larger datasets, we recommend using materialized views without FINAL to flatten the data in real-time, and then deduplicate data at query time.
30
+
2.**Materialized Views**: For smaller datasets, you can use refreshable materialized with FINAL to periodically flatten and deduplicate data. For larger datasets, we recommend using incremental materialized views without FINAL to flatten the data in real-time, and then deduplicate data at query time.
31
31
3.**Query-time Access**: Instead of flattening, use dot notation to access nested fields directly in queries.
32
32
33
33
For detailed examples, see our [Working with JSON guide](./quickstart).
0 commit comments