Skip to content

[Feature] Introduce parameters binding into BydbQL #13628

@wu-sheng

Description

@wu-sheng

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

After discussing the use of BydbQL in OAP, rather than using raw YAML requests, to increase code readability, there is a typical feature gap in QL: it lacks parameter binding.

We need to use QL like this

SELECT trace_id, message
FROM STREAM logs in group1
TIME > ?
WHERE message MATCH(?);

with parameter binding

  • idx0 = -30m
  • idx1 = error
    To finalize the query, in order to get rid of QL injection in the product environment.

Use case

No response

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Labels

databaseBanyanDB - SkyWalking native databasefeatureNew feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions