shizhengchao opened a new issue, #7090:
URL: https://github.com/apache/kyuubi/issues/7090

   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [x] I have searched in the 
[issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Describe the bug
   
   The rule of the persistent view has been marked as PermanentViewMarker by 
RuleApplyPermanentViewMarker, which makes it impossible to match 
PermanentViewMarker in SparkSQLLineageParseHelper.scala in the lineage, and 
thus the lineage of the persistent view cannot be parsed:
   `      
   case p: View =>
           if (
             !p.isTempView && SparkContextHelper.getConf(
               LineageConf.SKIP_PARSING_PERMANENT_VIEW_ENABLED)
           ) {
             val viewName = getV1TableName(p.desc.qualifiedName)
             joinRelationColumnLineage(parentColumnsLineage, p.output, 
Seq(viewName))
           } else {
             val viewColumnsLineage =
               extractColumnsLineage(p.child, ListMap[Attribute, 
AttributeSet]())
             mergeRelationColumnLineage(parentColumnsLineage, p.output, 
viewColumnsLineage)
           }
   
   `
   I think there should be:
   `
   case p: PermanentViewMarker => 
   `
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   ```logtalk
   
   ```
   
   ### Kyuubi Engine Log Output
   
   ```logtalk
   
   ```
   
   ### Kyuubi Server Configurations
   
   ```yaml
   
   ```
   
   ### Kyuubi Engine Configurations
   
   ```yaml
   
   ```
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi 
community to fix.
   - [x] No. I cannot submit a PR at this time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to