Bug 210510 The filter's select value from String type dimension should be quoted[1102]
Description: The select value from String type dimension should be quoted, we should judge the data type from the binding of crosstab, currently we may judge the type from the dimension in cube builder. Build number: 2.3.0.v20071121-0800 Steps to reproduce: 1, New a cube with Integer type dimension 2, New a crosstab using the cube 3, Change the Integer type dimension's binding to String type 4, New a filter on that dimension and select value Expected result: The selected value should be quoted such as "11001" Actual result: The select value is without quotes. Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/CubeQueryUtil.java
/*******************************************************************************
 * Copyright (c) 2004, 2005 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http:www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.data.adapter.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;