Qihoo360 / Quicksql

A Flexible, Fast, Federated(3F) SQL Analysis Middleware for Multiple Data Sources
https://quicksql.readthedocs.io
MIT License
2.06k stars 583 forks source link

fix: update error parameter from 3 to 2 in tableNameCollector in case of `A.A.A` #279

Open IcePigZDB opened 2 years ago

IcePigZDB commented 2 years ago

I'm submitting a...

Checklist

Description

Current error parameter in validateTableName can not throw exception in case of A.A.A, see testParseSingleBdNameAndTableNameWithError and testParseSingleBdNameAndTableNameWithError2. So I change it to 2 from 3.

Does this PR introduce a breaking change?