Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bingo unable to index on SQL Server #1161

Closed
boglet opened this issue Jun 26, 2023 · 8 comments · Fixed by #1204, #1874 or #1875
Closed

Bingo unable to index on SQL Server #1161

boglet opened this issue Jun 26, 2023 · 8 comments · Fixed by #1204, #1874 or #1875
Assignees
Labels

Comments

@boglet
Copy link

boglet commented Jun 26, 2023

Steps to Reproduce

  1. Use Indigo library (Bingo cartridge). Latest release on SQL Server 16.0.1000.6
  2. exec bingo.CreateMoleculeIndex 'mycsdb', 'id', 'smiles';

Expected behavior
Index expected.

Actual behavior
Indexing fails with missing ".resources" manifest (see below)

Attachments

Msg 6522, Level 16, State 1, Procedure bingo.z_CreateMoleculeIndex, Line 0 [Batch Start Line 0]
A .NET Framework error occurred during execution of user-defined routine or aggregate "z_CreateMoleculeIndex": 
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "  .resources" was correctly embedded or linked into assembly "bingo-sqlserver" at compile time, or that all the satellite assemblies required are loadable and fully signed.
System.Resources.MissingManifestResourceException: 
   at indigo.Bingo._ExecuteBingoOperation(SqlString bingo_schema, bingoOperationDelegate operationDelegate, bingoGetIndexDataDelegate getBingoDataDelegate, BingoOp op_flags)
   at indigo.Bingo._ExecuteBingoOperationChangeIndex(SqlString bingo_schema, bingoOperationDelegate operationDelegate, bingoGetIndexDataDelegate getBingoDataDelegate, BingoOp flags)
   at indigo.Bingo.CreateIndex(SqlString table, SqlString id_column, SqlString data_column, SqlString bingo_schema, Boolean reaction)

Indigo/Bingo version
Downloaded 26/06/2023

Additional context
Add any other context about the problem here.

@boglet boglet added the Bug label Jun 26, 2023
@santiagomestrelab
Copy link

I have detected the same problem.
Using SQLServerDeveloper version 16.0.1000.6 and BingoDB version bingo-sqlserver-windows-x86_64-1.9.1.587,
and SQLServerExpress version 15.0.4316.3 and BingoDB version bingo-sqlserver-windows-x86_64-1.9.1.544

Regards
Santiago

@sapiosciences-dev
Copy link

The old 1.9.1 version is working and the binaries released since then do not for MS-SQL.
I would also note the bingo-sqlserver.dll file size is 10MB in 1.9.1, which is twice as what we have in master.

I'm guessing it's missing some assemblies resources.

@AlexanderSavelyev
Copy link
Collaborator

Hi all

Thanks for the problem report. We will investigate the issue with compiling bingo-sqlserver dll

Thanks
Aleksandr

@santiagomestrelab
Copy link

Good afternoon
Do you know when will be available a release with this fix?
Regards

@santiagomestrelab
Copy link

Good morning
It seems that in the two latest Bingo versions released, 1.13.0 and 1.14.0, this problem has not been solved
Best regards

@santiagomestrelab
Copy link

Good morning
I have tested the new version 1.16.0 and the problem remains.
I am sorry, but it is difficult to understand the situation here.

@boglet
Copy link
Author

boglet commented Feb 28, 2024

I'm also wondering what is going on. It appears that the SQL Server dll is still not fixed and we have had several releases sine then. Please could someone fix this? It is a shame because it works well for Postgres but we need to use it with SQL Server...

@AlexanderSavelyev
Copy link
Collaborator

Tested with SQL Server 2019. All index and search methods work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment