Skip to content

Commit 29c3469

Browse files
fix(workflow-operator, v1.2): qualify the AsterixDB FROM clause; add AsterixDBSourceOpExec unit tests (#7006)
### What changes were proposed in this PR? Backport of #6878 to `release/v1.2`, cherry-picked from 52584a8. **Source fix only.** The test changes from #6878 were omitted: the touched test spec(s) do not exist on `release/v1.2` (or depend on main-only test infrastructure), so backporting them cleanly is not possible. Only the source fix is carried over, per maintainer guidance. ### Any related issues, documentation, discussions? Backport of #6878. Originally linked #6875. ### How was this PR tested? Release-branch CI runs on this PR. The source change cherry-picked cleanly; test changes were intentionally dropped (see above). ### Was this PR authored or co-authored using generative AI tooling? Yes — backport prepared with Claude Code (mechanical cherry-pick + conflict resolution; the change itself is #6878 by its original author). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Xinyuan Lin <[email protected]>
1 parent e17af26 commit 29c3469

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/source/sql/asterixdb/AsterixDBSourceOpExec.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class AsterixDBSourceOpExec private[asterixdb] (
308308
.map((entry: (String, Int)) => {
309309
s"if_missing(${entry._1},null) field_${entry._2}"
310310
})
311-
.mkString(", ")} FROM $desc.database.$desc.table WHERE 1 = 1 "
311+
.mkString(", ")} FROM ${desc.database}.${desc.table} WHERE 1 = 1 "
312312
}
313313

314314
override def addLimit(queryBuilder: StringBuilder): Unit = {

0 commit comments

Comments
 (0)