https://pinot.apache.org/ logo
Join Slack
Powered by
# general
  • a

    Alex

    11/18/2019, 11:45 PM
    even confluent’s docs mix them on the same page
  • s

    Subbu Subramaniam

    11/18/2019, 11:49 PM
    @User Are you planning to write your own pluggable stream? Or, do you plan to use Kafka?
  • a

    Alex

    11/18/2019, 11:51 PM
    just kafka
  • s

    Subbu Subramaniam

    11/18/2019, 11:51 PM
    I ask because you quoted from the doc for pluggable streams.
  • s

    Subbu Subramaniam

    11/18/2019, 11:51 PM
    (about event from higher offsets).
  • s

    Subbu Subramaniam

    11/18/2019, 11:52 PM
    Unless you are developing modules for streams other than kafka, that particular section is of little value.
  • a

    Alex

    11/19/2019, 1:32 AM
    @User switching to low level consumer and reingesting 300M records dropped zookeper log folder from 8gbs to 200Mbs
  • s

    Subbu Subramaniam

    11/19/2019, 1:36 AM
    excellent. let us know how the progress is going.
  • k

    Kishore G

    11/19/2019, 1:48 AM
    👍
  • a

    Alex

    11/19/2019, 11:41 PM
    looking at segments metadata and noticing that:
  • a

    Alex

    11/19/2019, 11:41 PM
    Copy code
    column.itemSalePrice.cardinality = 445
    column.itemSalePrice.totalDocs = 506250
    column.itemSalePrice.totalRawDocs = 506250
    column.itemSalePrice.totalAggDocs = 0
  • a

    Alex

    11/19/2019, 11:42 PM
    totalAggDocs is 0 for all the columns
  • a

    Alex

    11/19/2019, 11:42 PM
    what does it mean ?
  • k

    Kishore G

    11/19/2019, 11:42 PM
    It’s non zero when you enable star tree
  • a

    Alex

    11/19/2019, 11:43 PM
    got it
  • a

    Alex

    11/19/2019, 11:45 PM
    want to try it as well. https://pinot.readthedocs.io/en/latest/star-tree/star-tree.html#startreeindexconfig doesn’t say where to put the config 🙂
  • a

    Alex

    11/19/2019, 11:46 PM
    does it live under tableIndexConfig?
  • k

    Kishore G

    11/19/2019, 11:46 PM
    @User ^^
  • k

    Kishore G

    11/19/2019, 11:46 PM
    Yes.
  • k

    Kishore G

    11/19/2019, 11:47 PM
    Startreeindexspec
  • a

    Alex

    11/20/2019, 12:13 AM
    Copy code
    "startreeIndexSpec": {
          "dimensionsSplitOrder": [
            "dim1",
            "dim2",
            "dim3"
          ],
          "skipStarNodeCreationForDimensions": [],
          "functionColumnPairs": [
            "SUM__subtotal",
            "MAX__subtotal",
            "AVG__subtotal",
            "DISTINCTCOUNTHLL__items"
          ]
        }
  • a

    Alex

    11/20/2019, 12:14 AM
    under tableIndexConfig and it didn’t do anything. Table was created and ingested, but totalAggDocs are still 0s
  • a

    Alex

    11/20/2019, 12:19 AM
    let me see if naming was off
  • a

    Alex

    11/20/2019, 12:21 AM
    startreeIndexSpec -> starTreeIndexSpec works
  • a

    Alex

    11/20/2019, 12:51 AM
    another question: aggregateMetrics -> documentation says that it will sum all the metrics. Is SUM the only operation supported?
  • k

    Kishore G

    11/20/2019, 12:53 AM
    No. It’s the default one. You can apply any function min max etc
  • n

    Neha Pawar

    11/20/2019, 12:55 AM
    afaik, only SUM is supported right now
  • a

    Alex

    11/20/2019, 1:06 AM
    @User ty.
  • k

    Kishore G

    11/20/2019, 1:06 AM
    I thought Jackie added support for other agg functions as well
  • k

    Kishore G

    11/20/2019, 1:07 AM
    Copy code
    "startreeIndexSpec": {
          "dimensionsSplitOrder": [
            "dim1",
            "dim2",
            "dim3"
          ],
          "skipStarNodeCreationForDimensions": [],
          "functionColumnPairs": [
            "SUM__subtotal",
            "MAX__subtotal",
            "AVG__subtotal",
            "DISTINCTCOUNTHLL__items"
          ]
        }
1...99100101...160Latest