Giter VIP home page Giter VIP logo

Comments (4)

jeeminso avatar jeeminso commented on June 5, 2024

I cannot recall the reasoning but that is intentional. We have a test that validates _raw returning oids instead of column names, see

execute("SELECT _raw FROM t");
assertThat(response).hasRows(
"{\"1\":{\"2\":1,\"_u_2\":2}}"
);

Also I think this would not be considered a regression since _raw is undocumented, https://cratedb.com/docs/crate/reference/en/5.6/general/ddl/system-columns.html

from crate.

hammerhead avatar hammerhead commented on June 5, 2024

Yes, I figured it might have been an intentional side-effect when switching to OIDs during the development of DROP COLUMN. In some situations, _raw was very handy as a simple way to get a JSON representation of a complete row. It's not directly breaking a significant use case for me, but thought I'd give it a try reporting to see if there is a chance to get it back.

from crate.

jeeminso avatar jeeminso commented on June 5, 2024

I see, it looks like we are expected to use _doc::string to replace the old _raw, #14726 (comment).

from crate.

mfussenegger avatar mfussenegger commented on June 5, 2024

This is intentional and the format of _raw is in general considered an implementation detail. With #15548 it might even change further.

from crate.

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.