Giter Site home page Giter Site logo

Comments (3)

ealsur avatar ealsur commented on August 17, 2024

@92dev thanks for the report.

will love to find out that it works well if used from an SDK directly

Have you tried executing the query on the .NET SDK? Is it working and if not, what is the exception? Can you share a repro in that case?

This repository is not to track issues with the Azure Portal or the service in general.

from azure-cosmos-dotnet-v3.

92dev avatar 92dev commented on August 17, 2024

Yeah, just did a deep dive into this shit, it's 100% like @jackbond mentioned,
it's an issue with the Azure portal converting values in javascript and managing it in a weird way
the thing is I used the portal as a source-of-truth (which made sense at the time lol)

after inspecting with the SDK itself - since the value in the DB differs from the one I saw - it works just fine 🙂

all in all, I guess there will be 0 chance of Azure web team ever fixing it (the UI is already all over the place with different icons themes and people maintenance teams)

EDIT: for anyone interested, I opted to change my code to always convert all values to STRING before pushing to CosmosDB, that way I avoid shit with triggers and functions like mentioned above.. who needs performance or integrity when we have a semi-functioning DB..

from azure-cosmos-dotnet-v3.

Pilchie avatar Pilchie commented on August 17, 2024

@jackbond - for queries where you need the numeric value where you store something as a string, consider using the STRINGTONUMBER to convert it to a number inside the query engine. Also tagging @sboshra.

from azure-cosmos-dotnet-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.