Skip to content

Conversation

@CXmartins
Copy link
Contributor

Fixed issue #216.

Pull request adds a filter test case that was failing and the fix for internal function _handle_field_filter.
The function fix is to add an unique identifier to the column names of operator in, nin, like and ilike

Copy link
Collaborator

@averikitsch averikitsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!


if not embedding and can_inline_embed:
values_stmt = f"VALUES (:langchain_id, :content, {self.embedding_service.embed_query_inline(content)}" # type: ignore
# type: ignore
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move the comment back to the original location in order for the lint to pass?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thank you

@averikitsch averikitsch merged commit 23c98be into langchain-ai:main Jun 23, 2025
2 checks passed
zhcn000000 pushed a commit to zhcn000000/langchain-postgres that referenced this pull request Aug 11, 2025
…ke/$in/$nin on same column (langchain-ai#217)

Fixed issue langchain-ai#216. 

Pull request adds a filter test case that was failing and the fix for
internal function _handle_field_filter.
The function fix is to add an unique identifier to the column names of
operator in, nin, like and ilike

---------

Co-authored-by: AD101\z004nm6m <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants