Hi, 

I am trying to create a dataset with a SQL table Cache as follows

The sql table was created as follows 
CREATE TABLE Person_Table_Test (id LONG, name VARCHAR(64), cityId DOUBLE,
country VARCHAR(64), pinCode LONG, age LONG, date DATE, time TIMESTAMP,
PRIMARY KEY (id)) WITH "template=SQLTABLE_CACHE_TEMPLATE , backups=2"

The dataset is created as follows
PersonTable<Binary, Binary> type

 try {
      dataSet = DatasetFactory.createSimpleDataset(ignite, personTable, new
TableFeatureExtractor(features));
    } catch (Exception e) {
      e.printStackTrace();
    }

TableFeatureExtractor is as follows

public class TableFeatureExtractor implements IgniteBiFunction<BinaryObject,
BinaryObject, Vector> {

  @Override
  public Vector apply(BinaryObject k, BinaryObject v) {
  }
}


The dataset seems to be created from logs, but all its operations always
return null.

Quesiton: is this model of creating a dataset supported in Ignite 2.7?

regards
Mahesh




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to