Skip to content

Instantly share code, notes, and snippets.

View kishoreg's full-sized avatar

Kishore Gopalakrishna kishoreg

View GitHub Profile
@kishoreg
kishoreg / SimpleIndexedTable.java
Created August 16, 2019 21:37
Indexed Table Impl
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;
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.
@kishoreg
kishoreg / TEInterfaces.java
Created August 23, 2018 02:00
TEinterfaces
DimensionFilter {
}
AnomalyDetector {
}
Merger {
/*
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;
/**
* 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 April 21, 2016 05:48 — forked from bobmonteverde/d3.css
A Simple D3 Line chart with Legend and Tooltips
/********************
* TOOLTIP CSS
*/
.nvtooltip {
position: absolute;
background-color: rgba(255,255,255,1);
padding: 10px;
border: 1px solid #ddd;
{
"id" : "myIndex",
"simpleFields" : {
"NUM_PARTITIONS" : "3",
"REPLICAS" : "2",
},
"mapFields" : {
"myIndex_0" : {
"N1" : "ONLINE",
"N2" : "ONLINE"