Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Problem with RDataFrame Alias when using `.` in the alias name.

Abierto
#22,762 5 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@vepadulano ya está trabajando en esto.

Desde el 7/7/2026.

  • #23561 de @ravindra-RKB — cerrado sin fusionar

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug in:RDataFrame
Check duplicate issues.
  • Checked for duplicates
Description

When trying to use RDataFrame Alias using an alias that contains a . in the string the following error message is thrown:
RDataFrame::Alias: cannot define variation "reco.el_e_NOSYS_B". Not a valid C++ variable name.

This is because the function CheckValidCppVarName() checks if the new alias characters are either a letter, an underscore or a number. Since the . is not identified as a neither of these cases the error is thrown.

This was found when matching 2 trees and trying to alias a systematic variation column of the matched tree.
For example:
Original column in the matched tree: truth.variation_customName
Desired alias: truth.variation_commonName

Reproducer

The minimal reproducer can be found here in the following cern box link: https://cernbox.cern.ch/s/c12lOxGVx0vahWy

ROOT version

ROOT Version: 6.40.00
Built for linuxx8664gcc on May 26 2026, 15:56:51
From tags/v6-40-00@v6-40-00

Installation method

Build from source

Operating system

Ubuntu 25.10

Additional context

No response

Lenguaje dominante
C++
Estrellas
3.3k
Forks
1.6k
Merge medio
2 d 17 h
PR fusionados (30 d)
188

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de root-project/root

Todos los issues de root-project/root

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.