Giter Site home page Giter Site logo

Comments (7)

bjornalm avatar bjornalm commented on July 30, 2024

Hi @stoty and thanks for reaching out. Can you provide an screenshot example of how this looks in HBase for a clearer picture?

from hue.

stoty avatar stoty commented on July 30, 2024

Creating and displaying binary data in hbase shell:

hbase:006:0>create 'demo', 'cf1';
Created table demo
Took 0.8557 seconds
=> Hbase::Table - demo
hbase:007:0>put 'demo', 'ascii_key', 'cf1:ascii_qialifier', 'ascii_value';
Took 1.2427 seconds
hbase:010:0> put 'demo', "binary_key\x00\x01\xff", "cf1:binary_qualifier\x00\x01\xff", "binary_value\x00\x01\xff";
Took 0.0089 seconds
hbase:019:0> scan 'demo'
ROW COLUMN+CELL
ascii_key column=cf1:ascii_qialifier, timestamp=2024-05-08T11:40:29.760, value=ascii_value
binary_key\x00\x01\xFF column=cf1:binary_qualifier\x00\x01\xFF, timestamp=2024-05-08T11:42:55.064, value=binary_value\x00\x01\xFF
2 row(s)
Took 0.0112 seconds

As you can see, the binary values are entered as escaped hex characters, and the results are displayed the same way.

The same data in Hue looks like this:

Screenshot from 2024-05-08 13-52-20

The easiest and most HBase-like solution would be using the same hex escaped format in Hue.

This could be a toggle in the toolbar for backward compatibility.

from hue.

stoty avatar stoty commented on July 30, 2024

For ease of identification, I have used an ascii prefix, but the data is often pure binary, like a long or an integer.

from hue.

bjornalm avatar bjornalm commented on July 30, 2024

Thanks, let's leave this issue open to see if any one in the community can create a PR for it.

from hue.

stoty avatar stoty commented on July 30, 2024

#77 is a similar issue.

from hue.

github-actions avatar github-actions commented on July 30, 2024

This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days.

from hue.

stoty avatar stoty commented on July 30, 2024

Fot the record this is NOT completed.

from hue.

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.