Skip to content

Commit ff06e06

Browse files
committed
remove cout debugging
1 parent 5d8c3d1 commit ff06e06

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/parse_tables_extension.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ static unique_ptr<FunctionData> Bind(ClientContext &context,
3939
vector<string> &names) {
4040

4141
string sql_input = StringValue::Get(input.inputs[0]);
42-
std::cout << "sql_input: " << sql_input << std::endl;
4342

4443
// always return the same columns:
4544

@@ -64,13 +63,6 @@ static unique_ptr<GlobalTableFunctionState> MyInit(ClientContext &context,
6463
static void ExtractTablesFromQueryNode(const QueryNode &node, vector<TableRefResult> &results);
6564

6665
static void ExtractTablesFromRef(const TableRef &ref, vector<TableRefResult> &results, const string &context = "from") {
67-
std::cout << "Ref type: " << (int)ref.type << std::endl;
68-
if (ref.type == TableReferenceType::BASE_TABLE) {
69-
auto &base = (BaseTableRef &)ref;
70-
std::cout << "Found base table: " << base.schema_name << "." << base.table_name << std::endl;
71-
}
72-
73-
7466
switch (ref.type) {
7567
case TableReferenceType::BASE_TABLE: {
7668
auto &base = (BaseTableRef &)ref;
@@ -103,11 +95,7 @@ static void ExtractTablesFromQueryNode(const QueryNode &node, vector<TableRefRes
10395
if (node.type == QueryNodeType::SELECT_NODE) {
10496
auto &select_node = (SelectNode &)node;
10597

106-
std::cout << "Extracting from query node" << std::endl;
107-
108-
10998
// Handle CTEs
110-
11199
for (const auto &entry : select_node.cte_map.map) {
112100
if (entry.second && entry.second->query) {
113101
ExtractTablesFromQueryNode(*entry.second->query->node, results);

0 commit comments

Comments
 (0)