1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Clickhouse code 32 DB::Exception: Attempt to read after eof

Discussão em 'Outras Linguagens' iniciado por Stack, Janeiro 27, 2021.

  1. Stack

    Stack Membro Participativo

    I created a dictionary on Clickhouse using the following script:

    CREATE DICTIONARY IF NOT EXISTS default.testDICT
    (
    -- attributes
    )
    PRIMARY KEY DATETIME, SOMEID, SOMEID2
    SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 USER 'default' PASSWORD '' DB 'default' TABLE 'test'))
    LIFETIME(MIN 0 MAX 300)
    LAYOUT(COMPLEX_KEY_HASHED())


    The table test has approximately 19 000 000 rows.

    And when I try to execute a select

    SELECT * FROM testDICT


    , which also loads the dictionary if I understood well, it sends me the following error:


    Exception on client:
    Code: 32. DB::Exception: Attempt to read after eof: while receiving packet from clickhouse-server:9000

    Connecting to clickhouse-server:9000 as user default.
    Code: 210. DB::NetException: Connection refused (clickhouse-server:9000)




    Do you know what it means and also how can I correct it?

    Continue reading...

Compartilhe esta Página