Skip to content

[Bug]: Failed to check whether table exist or not? #128

@longdafeng

Description

@longdafeng

Describe the bug

When I use this code to check whether table exist or not?

# Check if table exists
    if not client.has_collection(table_name):
        logger.warning(
            f"Table {table_name} does not exist, returning default component_mapping"
        )
        return component_mapping.copy()

it will report this table doesn't exist.

Environment

Image

Fast reproduce steps

I have check source code of "client.has_collection(table_name)"
I will use "describe {table_name}" but I doesn't know why it failed.

Expected behavior

No response

Actual behavior

No response

Additional context

The whole source code locate at https://github.com/ob-labs/ChatBot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions