Skip to content

Issue while creating chart for Solr #14

@rohitpawar2811

Description

@rohitpawar2811

This query is generated by Superset and is causing errors. After fetching data, we prepare columns and types in the SolrTableReflection class.

However, in the logic for extracting tables, it extracts the name of the alias ['virtual_table']. Subsequently, using the alias name, it calls the /admin/luke API and encounters an error because there is no collection available with the alias virtual_table.

The problematic query is:

SELECT pd AS pd,
       pn AS pn
FROM
  (SELECT productId AS pd,
          productName AS pn
   FROM enterpriseSearch) AS virtual_table
LIMIT 10;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions