Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5571

Change KiePmmlModel name generation

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • None
    • None
    • 5
    • Medium
    • NEW
    • NEW

      Currently, name of generated classes depends on KiePMMLModel name that, in turns, depends on (original) Model name.
      This name may be missing (it is auto-generated) but it seems the same model name could be used inside different models in the same PMML file, at least inside nested Segments of MiningModel.
      This lead to class clashes at evaluation time.
      The current workaround is to ensure no models share the same model name (but this is not needed in jpmml).
      To allow unique name generation, KiePMMLModel name must be created out of original file name and a different identifier strategy (index ?).

              gcardosi Gabriele Cardosi (Inactive)
              gcardosi Gabriele Cardosi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: