Skip to content

[Bug] [SQL module] passed variable to create table, parameter passing error #17124

Open
@ZHCGitHub

Description

@ZHCGitHub

Search before asking

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

What happened

Image

Image
create sqlserver table error

What you expected to happen

test_20250411

How to reproduce

create table test_${dd}(
id int null
);

Custom parameters: dd in integer 20250411

Anything else

I can't believe this is an Apache project with millions of downloads. There is no version where existing features can be used without bugs. Even the most basic features have bugs. Many bugs have been raised in Git, but they have not been resolved in many versions. For example, the most basic SQL function, which dynamically creates table names using global parameters, should be a very simple function. As a result, MySQL will pass a global parameter and create a table with an error. Only by creating local parameters in the current task and creating an SQL Server table in the same way, the concatenated parameters are directly added to the table name to generate a table name test_@p0 This table name, along with other miscellaneous bugs, I have tried SQL as a basic feature from 2.1.70 to the latest 3.2.2, and none of them are bug free. I think you should focus on doing the basic functions well first, at least being able to use them normally like a normal project, and then consider the idea of adding other functions and upgrading, as well as the damn official documentation, which is simply unbearable. This makes me feel that this project does not deserve the honor of being a top-level Apache project

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions