Giter VIP home page Giter VIP logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
The interface needs to allow for textual and numeric min/max functionality.  
Options
for indexes/labels could be

-m/-M - numeric max 
-x/-X - lexicographic max
-n/-N - numeric min
-i/-I - lexicographic min

But I'm not especially fond of that last one.

Alternatively, perhaps we could track both kinds of min/max, and decide what 
kind of
values it was looking at after the fact.  If only numeric values appeared in a 
field,
use the numeric min/max; but if the field contained non-numeric characters in 
one or
more rows, use the lex min/max.  This could be complicated by the presence of 
commas,
currency symbols, etc., in otherwise numeric fields.

Another question: what is the correct way to handle empty fields?  Should they 
count
as a normal field value, or be ignored?

Original comment by [email protected] on 26 Mar 2009 at 2:20

from crush-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I think numeric is higher priority. And I like your alternate proposal. 

How hard would it be to add long command line args for this? Or use only long 
command
line args for lexicographical requests - as I imagine they would be much less 
frequent? 

nulls should probably be 0s in the case of numeric for convenience. Otherwise 
the
docs should clearly state something about using translate_field/sed. I can't 
think of
a case where nulls would be a useful lexicographical min - and in most reports 
I see,
nulls would be stripped with grepfield or they'd be an edge/error case. That 
isn't to
say the use case doesn't exist...

Original comment by [email protected] on 26 Mar 2009 at 9:21

from crush-tools.

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.