https://pinot.apache.org/ logo
Join Slack
Powered by
# troubleshooting
  • s

    Suraj

    04/16/2020, 10:07 PM
    what should i try ?
  • s

    Suraj

    04/16/2020, 10:08 PM
    Copy code
    curl -X GET --header 'Accept: application/json' '<http://localhost:8099/debug/routingTable/serviceCallView>'
  • s

    Suraj

    04/16/2020, 10:08 PM
    response
    response
  • x

    Xiang Fu

    04/16/2020, 10:32 PM
    hmm
  • x

    Xiang Fu

    04/16/2020, 10:33 PM
    so routing table is there
  • x

    Xiang Fu

    04/16/2020, 10:33 PM
    and you still cannot query?
  • s

    Suraj

    04/16/2020, 10:37 PM
    yea can't query
  • d

    Dan Hill

    04/27/2020, 4:58 PM
    Moving from #CDRCA57FC , it looks like Presto is adding a
    TOP 10000
    automatically to a Pinot query and it's failing.
  • k

    Kishore G

    04/27/2020, 4:59 PM
    TOP 10000 should still work
  • k

    Kishore G

    04/27/2020, 4:59 PM
    do you see anything in pinot broker logs?
  • d

    Dan Hill

    04/27/2020, 5:07 PM
    Same error that appears when I run in the query data explorer.
  • d

    Dan Hill

    04/27/2020, 5:07 PM
    Copy code
    Caused by: org.apache.calcite.sql.parser.babel.ParseException: Encountered "TOP" at line 1, column 114.
    Was expecting one of:
        <EOF>
        "ORDER" ...
        "LIMIT" ...
        "OFFSET" ...
        "FETCH" ...
        "," ...
        "." ...
        "NOT" ...
        "IN" ...
        "<" ...
        "<=" ...
        ">" ...
        ">=" ...
        "=" ...
        "<>" ...
        "!=" ...
        "BETWEEN" ...
        "LIKE" ...
        "SIMILAR" ...
        "+" ...
        "-" ...
        "*" ...
        "/" ...
        "%" ...
        "||" ...
        "AND" ...
        "OR" ...
        "IS" ...
        "MEMBER" ...
        "SUBMULTISET" ...
        "CONTAINS" ...
        "OVERLAPS" ...
        "EQUALS" ...
        "PRECEDES" ...
        "SUCCEEDS" ...
        "IMMEDIATELY" ...
        "MULTISET" ...
        "[" ...
        "HAVING" ...
        "WINDOW" ...
        "UNION" ...
        "INTERSECT" ...
        "EXCEPT" ...
        "MINUS" ...
        "(" ...
  • n

    Neha Pawar

    04/27/2020, 5:09 PM
    @Kishore G i dont think TOP works in the sql endpoing
  • k

    Kishore G

    04/27/2020, 5:09 PM
    yes, try LIMIT instead of TOP in pinot query console
  • x

    Xiang Fu

    04/27/2020, 5:50 PM
    I feel the issue might be that presto sends query as
    select count(*) from table group by a
    to pinot, which expected 1 column back from pinot results, but pinot gives two
  • x

    Xiang Fu

    04/27/2020, 5:50 PM
    I will check more
  • k

    Kishore G

    04/27/2020, 5:51 PM
    lets create an issue, maybe its time to move presto-pinot connector from PQL to SQL end point
  • x

    Xiang Fu

    04/27/2020, 5:58 PM
    we need to fix the bug first
  • x

    Xiang Fu

    04/27/2020, 5:59 PM
    even for moving to sql end point, it will be an option to let users turn it on
  • d

    Dan Hill

    04/27/2020, 6:47 PM
    TOP
    is automatically created by Presto.
  • d

    Dan Hill

    04/27/2020, 6:49 PM
    The same query works if I use
    LIMIT
    instead.
  • x

    Xiang Fu

    04/27/2020, 8:16 PM
    can you try to run
    select count(*) from table group by col
    in presto
  • d

    Dan Hill

    04/27/2020, 10:48 PM
    That fails.
  • d

    Dan Hill

    04/27/2020, 10:48 PM
    If I do
    select col, count(*) from table group by col
    , it works
  • d

    Dan Hill

    04/27/2020, 10:48 PM
    It's the same Exception type and parameter.
  • d

    Dan Hill

    04/27/2020, 10:49 PM
    Copy code
    java.lang.ArrayIndexOutOfBoundsException: 1
  • x

    Xiang Fu

    04/27/2020, 11:40 PM
    cool
  • x

    Xiang Fu

    04/27/2020, 11:41 PM
    I’m looking into this
    👍 1
  • d

    Damiano

    04/28/2020, 10:53 PM
    hello everybody
  • k

    Kishore G

    04/28/2020, 10:54 PM
    hey
1...868788...166Latest