Skip to content

Instantly share code, notes, and snippets.

Avatar

Kishore Gopalakrishna kishoreg

View GitHub Profile
View SimpleIndexedTable.java
class DefaultIndexedTable implements IndexedTable {
List<TableRecord> rows = new ArrayList<>();
Map<TableRecord, Integer> lookUpTable;
private DataSchema _schema;
private String[] _keyColumns;
private String[] _orderByColumn;
private int _maxCapacity;
View committer access to Pinot Apache repo
Visit id.apache.org login with you apache id
Edit the github user name and save it
Wait for invitation email from Github to join Apache org.
Once you join Apache org, search for your name in https://github.com/orgs/apache/people
Link Apache Id and Github Id
- Go to https://gitbox.apache.org/setup/ and follow the instructions on this page to link the two ids.
View TEInterfaces.java
DimensionFilter {
}
AnomalyDetector {
}
Merger {
View PinotRecord.java
/*
This is the base Pinot Record
*/
package com.linkedin.pinot.hadoop.io;
import com.linkedin.pinot.core.util.AvroUtils;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericData;
View gist:6db55986776e7d3b2d31a96f887f553c
/**
* Copyright (C) 2014-2016 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
@kishoreg
kishoreg / d3.css
Created Apr 21, 2016 — forked from bobmonteverde/d3.css
A Simple D3 Line chart with Legend and Tooltips
View d3.css
/********************
* TOOLTIP CSS
*/
.nvtooltip {
position: absolute;
background-color: rgba(255,255,255,1);
padding: 10px;
border: 1px solid #ddd;
View gist:5528553
{
"id" : "myIndex",
"simpleFields" : {
"NUM_PARTITIONS" : "3",
"REPLICAS" : "2",
},
"mapFields" : {
"myIndex_0" : {
"N1" : "ONLINE",
"N2" : "ONLINE"