Uploaded image for project: 'JAPI'
  1. JAPI
  2. JAPI-437

TLK Indexes not filtering partitions as expected

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.4.x
    • 8.4.24
    • dfsclient
    • None

    Description

      So I have a cluster (alpha-dev) that is on platform version 7.12, and which the test index integration tests in dfsclient DFUIndexTest work against. 

      However when I try to filter an index on alpha dev on a key value, still no matching partitions are is coming back. I’ve verified that HPCCFile is getting a TLK partition.

      Here’s the test I’m running:

       

      HPCCFile file = new HPCCFile("thor::key::cd::vehicle_history::ownership::20211013::idl",
              http://alpha_dev_thor_esp.risk.regn.net:8010/ , "username","password!");
      HPCCRecordBuilder rb=new HPCCRecordBuilder(file.getProjectedRecordDefinition());
      FileFilter filter = new FileFilter("idl=52");
      List<DataPartition> filteredPartitions = file.findMatchingPartitions(filter);
      for (int i=0; i < filteredPartitions.size();i++) {
          DataPartition matchedPart = filteredPartitions.get;
          HpccRemoteFileReader<HPCCRecord> fileReader = new HpccRemoteFileReader<HPCCRecord>(matchedPart, file.getRecordDefinition(), rb);
          while (fileReader.getRecordReader().hasNext() )

      {         HPCCRecord r=(HPCCRecord) fileReader.getRecordReader().getNext();     }

      }

       

      Attachments

        Activity

          People

            mcmuja01 James McMullan
            drealeed Drea Leed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: