Skip to content

Conversation

@mamcx
Copy link
Contributor

@mamcx mamcx commented Dec 27, 2025

Description of Changes

Second of a set PRs for closing of #3489.

Stacked against #3791

Expected complexity level and risk: 2

Need to change to passing tx mutable to allow for internal params creation.

Testing

  • Unit test for sql statements
  • TODO: For evaluation

@mamcx mamcx self-assigned this Dec 27, 2025
@mamcx mamcx added the Do not merge Do not merge PRs with this label without coordinating further label Dec 27, 2025

// Verify calling views with params
// TODO: All testing use the old query compiler, so we can't test this yet.
#[test]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this @joshua-spacetime

Err(Unresolved::Literal.into())
}
(SqlExpr::Lit(SqlLiteral::Str(v) | SqlLiteral::Num(v) | SqlLiteral::Hex(v)), Some(ty)) => Ok(Expr::Value(
(SqlExpr::Lit(SqlLiteral::Num(v)), Some(ty)) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix parsing for num-like literals

ctx.db.player().chunk_index().filter(chunk_index)
}*/

// ─────────────────────────────────────────────────────────────────────────────
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note we can't create yet view with params in modules?

@mamcx mamcx force-pushed the mamcx/sql-call-views-expr branch from 4c0a493 to 4289cd8 Compare December 27, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do not merge Do not merge PRs with this label without coordinating further

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants