Skip to content

Commit 33ff4d9

Browse files
author
GitHub Action Sync Bot
committed
Update from source repository (workflow run: 16947135549) (PR #14565) (commit: 75c77fb980043e096b1a7d638be7fc6f0fd15ba8) (branch: 10.11.0.cl)
1 parent 39802e2 commit 33ff4d9

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

cloud/modules/ROOT/pages/search-data-errors-reference.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:page-partial:
66
:page-layout: default-cloud
77
:description: Learn about Search data error codes and how to resolve them.
8-
:jira: SCAL-203176, SCAL-222625, SCAL-222616, SCAL-214766, SCAL-214767, SCAL-229669, SCAL-229372, SCAL-229373, SCAL-243779, SCAL-238988, SCAL-252486
8+
:jira: SCAL-203176, SCAL-222625, SCAL-222616, SCAL-214766, SCAL-214767, SCAL-229669, SCAL-229372, SCAL-229373, SCAL-243779, SCAL-238988, SCAL-252486, SCAL-229165
99

1010
This reference identifies the error codes that can appear when you use xref:search-data.adoc[Search data] in ThoughtSpot, including the cause and suggested resolution.
1111

@@ -21,6 +21,7 @@ This reference identifies the error codes that can appear when you use xref:sear
2121
* xref:search-data-error-11036[11036- Unsupported query: nested aggregate function, for example, fx = max(avg(c1)).]
2222
* xref:search-data-error-11037[11037- Formulas that mix aggregates and non-aggregate expressions are not supported.]
2323
* xref:search-data-error-11038[11038- Model date constraint]
24+
* xref:search-data-error-11040[11040- Rank-related function spanning multiple fact tables not supported]
2425
* xref:search-data-error-22001[22001- Multiple query paths detected]
2526
2627
---
@@ -60,4 +61,8 @@ include::partial$alerts/search-data-error-11038.adoc[]
6061

6162
---
6263

64+
include::partial$alerts/search-data-error-11040.adoc[]
65+
66+
---
67+
6368
include::partial$alerts/search-data-error-22001.adoc[]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[#search-data-error-11040]
2+
3+
=== 11040
4+
5+
Description:: Rank-related function spanning multiple fact tables is not supported.
6+
7+
Details:: Assume the Model definition has the underlying data tables. This is a chasm trap Model where there are two fact tables: Inventory and Purchases. There is a single shared dimension: date. Store and Supplier details are not shared. Store is joined to Inventory and Supplier to Purchases.
8+
+
9+
dimStore ← factInventory → dimDate
10+
+
11+
dimSupplier ← factPurchases → dimDate
12+
13+
Cause:: The following formula definition can be saved, however, it will generate the query generation error:
14+
+
15+
----
16+
fxQueryGenError = last_value(sum(factInventory.balance), {dimSupplier.Code}, {dimDate.Date})
17+
----
18+
+
19+
The reason is that the join path between the columns factInventory.balance and dimSupplier.Code is via a chasm trap. This formula will return incorrect results.
20+
21+
22+
Resolution:: This Model would need to be augmented so that there is a direct join between factInventory and dimSupplier.

0 commit comments

Comments
 (0)