Giter Club home page Giter Club logo

Comments (3)

jondgoodwin avatar jondgoodwin commented on June 19, 2024

Evidently, this is intentional (if cryptic) behavior.

"show rows" accepts two parameters: a term and shard number. Shard number is optional and assumed to be 0, if not specified. Thus, "show rows anarchy" only shows the documents placed in shard 0. "show rows anarchy 1" shows the documents placed in shard 1.

Presumably, the "Sample Data" blog's screens were captured back when all documents were placed in the same shard. Now that sharding is in play, the results are different.

  • Should we change the "show rows" logic so that if no shard is explicitly specified, it shows documents from all shards?
  • Should we add outputted help text which mentions the existence of the optional shard parameter on "show rows"?

from bitfunnel.

MikeHopcroft avatar MikeHopcroft commented on June 19, 2024

Let's discuss this one on the call. It is complicated because the command can only show a small number of columns at a time. We need to decide which scenario we're targeting for show rows. Originally it was added for debugging purposes where examining the first few documents in the first shard was sufficient.

An option to consider is to add another command called shard x which would set the default shard to use for queries and show rows. Perhaps shard with no parameters would clear the default shard so that all shards are used.

from bitfunnel.

jondgoodwin avatar jondgoodwin commented on June 19, 2024

This issue is addressed by #420.

from bitfunnel.

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.